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));
|
workspaceNode = getModel()->getRoot()->findWorkspaceByName(std::to_string(newWorkspace));
|
||||||
} while (workspaceNode != nullptr
|
} while (workspaceNode != nullptr
|
||||||
&& (workspaceNode->childCount() != 0
|
&& (workspaceNode->childCount() != 0
|
||||||
|| (preferredOutput != nullptr && preferredOutput == workspaceNode->findOutput())));
|
|| (preferredOutput != nullptr && preferredOutput != workspaceNode->findOutput())));
|
||||||
|
|
||||||
return std::to_string(newWorkspace);
|
return std::to_string(newWorkspace);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# base toolchain
|
# base toolchain
|
||||||
gcc12
|
gcc13
|
||||||
|
gdb
|
||||||
clang
|
clang
|
||||||
libgcc
|
libgcc
|
||||||
qt6.full
|
qt6.full
|
||||||
|
|
Loading…
Reference in a new issue