diff options
author | Max Horn | 2005-02-18 00:28:56 +0000 |
---|---|---|
committer | Max Horn | 2005-02-18 00:28:56 +0000 |
commit | 695b0fcb5fab7803340c23c27e36940ce98a886c (patch) | |
tree | f3f22dc1e22ed2d8fff6a4fc0fc65752cbfc88fe /scumm/dialogs.cpp | |
parent | 05f4bf51510cba098d6073eddea885f903b7847d (diff) | |
download | scummvm-rg350-695b0fcb5fab7803340c23c27e36940ce98a886c.tar.gz scummvm-rg350-695b0fcb5fab7803340c23c27e36940ce98a886c.tar.bz2 scummvm-rg350-695b0fcb5fab7803340c23c27e36940ce98a886c.zip |
Fix a small bug (wrong mouse cursor is briefly shown) in the F5 menu
svn-id: r16804
Diffstat (limited to 'scumm/dialogs.cpp')
-rw-r--r-- | scumm/dialogs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 73149878e4..6ef9a7de00 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -303,6 +303,7 @@ MainMenuDialog::MainMenuDialog(ScummEngine *scumm) // Create the sub dialog(s) // _aboutDialog = new GUI::AboutDialog(); + _optionsDialog = new ConfigDialog(scumm); #ifndef DISABLE_HELP _helpDialog = new HelpDialog(scumm); #endif @@ -312,6 +313,7 @@ MainMenuDialog::MainMenuDialog(ScummEngine *scumm) MainMenuDialog::~MainMenuDialog() { delete _aboutDialog; + delete _optionsDialog; #ifndef DISABLE_HELP delete _helpDialog; #endif @@ -331,7 +333,7 @@ void MainMenuDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat close(); break; case kOptionsCmd: - _vm->optionsDialog(); + _optionsDialog->runModal(); break; case kAboutCmd: _aboutDialog->runModal(); |