mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-10 22:37:30 +00:00
Avoids regression of selected tab upon app restart.
This commit is contained in:
parent
d18a537509
commit
57713d63fa
@ -21,6 +21,7 @@ linux {
|
||||
# Add flags (i) to identify that this is a Qt build; and
|
||||
# (ii) to disable asserts in release builds.
|
||||
DEFINES += TARGET_QT
|
||||
DEFINES += IGNORE_APPLE
|
||||
QMAKE_CXXFLAGS_RELEASE += -DNDEBUG
|
||||
|
||||
# Generate warnings for any use of APIs deprecated prior to Qt 6.0.0.
|
||||
|
@ -112,11 +112,11 @@ void MainWindow::init() {
|
||||
ui->setupUi(this);
|
||||
romRequestBaseText = ui->missingROMsBox->toPlainText();
|
||||
|
||||
createActions();
|
||||
restoreSelections();
|
||||
|
||||
// TEMPORARY: remove the Apple IIgs tab; this machine isn't ready yet.
|
||||
ui->machineSelectionTabs->removeTab(ui->machineSelectionTabs->indexOf(ui->appleIIgsTab));
|
||||
|
||||
createActions();
|
||||
restoreSelections();
|
||||
}
|
||||
|
||||
void MainWindow::createActions() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user