fix yet another logic bug
This commit is contained in:
parent
1c40627570
commit
9e705cb34b
2 changed files with 3 additions and 2 deletions
|
@ -65,7 +65,7 @@ protected:
|
|||
workspaceNode = getModel()->getRoot()->findWorkspaceByName(std::to_string(newWorkspace));
|
||||
} while (workspaceNode != nullptr
|
||||
&& (workspaceNode->childCount() != 0
|
||||
|| (preferredOutput != nullptr && preferredOutput == workspaceNode->findOutput())));
|
||||
|| (preferredOutput != nullptr && preferredOutput != workspaceNode->findOutput())));
|
||||
|
||||
return std::to_string(newWorkspace);
|
||||
}
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
# base toolchain
|
||||
gcc12
|
||||
gcc13
|
||||
gdb
|
||||
clang
|
||||
libgcc
|
||||
qt6.full
|
||||
|
|
Loading…
Reference in a new issue