Fix a small bug (wrong mouse cursor is briefly shown) in the F5 menu

svn-id: r16804
This commit is contained in:
Max Horn 2005-02-18 00:28:56 +00:00
parent 05f4bf5151
commit 695b0fcb5f
4 changed files with 5 additions and 13 deletions

View file

@ -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();