aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/launcher.cpp6
-rw-r--r--gui/launcher.h1
2 files changed, 5 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 6b4e7cfd11..bf0087835a 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -142,8 +142,8 @@ LauncherDialog::LauncherDialog(NewGui *gui, GameDetector &detector)
// Two more buttons directly below the list box
bw = new ButtonWidget(this, 10, 144, 80, 16, "Add Game...", kAddGameCmd, 'A');
// bw->setEnabled(false);
- bw = new ButtonWidget(this, 320-90, 144, 80, 16, "Configure...", kConfigureGameCmd, 'C');
- bw->setEnabled(false);
+ _configureButton = new ButtonWidget(this, 320-90, 144, 80, 16, "Configure...", kConfigureGameCmd, 'C');
+ _configureButton->setEnabled(false);
// Create file browser dialog
_browser = new BrowserDialog(_gui);
@@ -330,6 +330,8 @@ void LauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
case kListSelectionChangedCmd:
_startButton->setEnabled(data >= 0);
_startButton->draw();
+ //_configureButton->setEnabled(data >= 0);
+ //_configureButton->draw();
break;
case kQuitCmd:
g_system->quit();
diff --git a/gui/launcher.h b/gui/launcher.h
index 7bbf223a29..a044f6c658 100644
--- a/gui/launcher.h
+++ b/gui/launcher.h
@@ -41,6 +41,7 @@ public:
protected:
ListWidget *_list;
Widget *_startButton;
+ Widget *_configureButton;
StringList _filenames;
GameDetector &_detector;
BrowserDialog *_browser;