more JUTConsole work

This commit is contained in:
Jasper St. Pierre
2023-11-25 14:35:04 -08:00
parent 855fb1e2ed
commit 4a496727a9
3 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ void JUTConsoleManager::removeConsole(JUTConsole* console) {
if (soLink_.size() <= 1) {
mActiveConsole = NULL;
} else {
mActiveConsole = console != soLink_.back() ? soLink_.Element_toValue(console->getNext()) : soLink_.front();
mActiveConsole = console != soLink_.back() ? soLink_.Element_toValue(console->mLinkNode.getNext()) : soLink_.front();
}
}