diff options
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r-- | gui/launcher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index d1187a4ad5..e056b60f02 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -195,7 +195,7 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc) // // 3) The graphics tab // - tab->addTab("Graphics"); + _graphicsTabId = tab->addTab(g_system->getOverlayWidth() > 320 ? "Graphics" : "GFX"); _globalGraphicsOverride = new CheckboxWidget(tab, "GameOptions_Graphics.EnableTabCheckbox", "Override global graphic settings", kCmdGlobalGraphicsOverride, 0); @@ -257,6 +257,7 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc) // Activate the first tab tab->setActiveTab(0); + _tabWidget = tab; // Add OK & Cancel buttons new ButtonWidget(this, "GameOptions.Cancel", "Cancel", kCloseCmd, 0); |