Fixed returning to the same screen after configuring another one
This commit is contained in:
@@ -197,7 +197,7 @@ class SetupWidgetsPage: public FormWindow
|
|||||||
auto viewMain = ViewMain::instance();
|
auto viewMain = ViewMain::instance();
|
||||||
screen->attach(viewMain);
|
screen->attach(viewMain);
|
||||||
screen->setRect(getRect());
|
screen->setRect(getRect());
|
||||||
viewMain->setCurrentMainView(customScreenIdx);
|
viewMain->setCurrentMainView(savedView);
|
||||||
}
|
}
|
||||||
FormWindow::deleteLater(detach, trash);
|
FormWindow::deleteLater(detach, trash);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user