Reverting not swapping the sidebar at load.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
As the bug is *still* very much present. Notably when you load a graph from command line arguments.
This commit is contained in:
parent
4564d5446f
commit
971a9d10d2
1 changed files with 8 additions and 8 deletions
|
@ -276,15 +276,15 @@ ApplicationWindow {
|
||||||
history.unserialize(...data["history"])
|
history.unserialize(...data["history"])
|
||||||
|
|
||||||
// Refreshing sidebar
|
// Refreshing sidebar
|
||||||
//if(sidebarSelector.currentIndex == 0) {
|
if(sidebarSelector.currentIndex == 0) {
|
||||||
// // For some reason, if we load a file while the tab is on object,
|
// For some reason, if we load a file while the tab is on object,
|
||||||
// // we get stuck in a Qt-side loop? Qt bug or side-effect here, I don't know.
|
// we get stuck in a Qt-side loop? Qt bug or side-effect here, I don't know.
|
||||||
// sidebarSelector.currentIndex = 1
|
sidebarSelector.currentIndex = 1
|
||||||
// objectLists.update()
|
objectLists.update()
|
||||||
// delayRefreshTimer.start()
|
delayRefreshTimer.start()
|
||||||
//} else {
|
} else {
|
||||||
objectLists.update()
|
objectLists.update()
|
||||||
//}
|
}
|
||||||
} else {
|
} else {
|
||||||
error = qsTr("Invalid file provided.")
|
error = qsTr("Invalid file provided.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue