fix logic oversight
This commit is contained in:
parent
7fce5f1063
commit
b91314fad6
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ protected:
|
||||||
newWorkspace++;
|
newWorkspace++;
|
||||||
workspaceNode = getModel()->getRoot()->findWorkspaceByName(std::to_string(newWorkspace));
|
workspaceNode = getModel()->getRoot()->findWorkspaceByName(std::to_string(newWorkspace));
|
||||||
} while (workspaceNode != nullptr && workspaceNode->childCount() != 0
|
} while (workspaceNode != nullptr && workspaceNode->childCount() != 0
|
||||||
&& (preferredOutput != nullptr && preferredOutput == workspaceNode->findOutput()));
|
|| (preferredOutput != nullptr && preferredOutput == workspaceNode->findOutput()));
|
||||||
|
|
||||||
return std::to_string(newWorkspace);
|
return std::to_string(newWorkspace);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue