Fixed a problem where the function that I previously implemented, popAllCursors(), was causing the mouse cursor to disapear

svn-id: r32719
This commit is contained in:
Christopher Page 2008-06-16 18:47:32 +00:00
parent 23fc803dad
commit 7009aae893
2 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@
#include "gui/ListWidget.h"
#include "gui/TabWidget.h"
#include "gui/PopUpWidget.h"
#include "graphics/cursorman.h"
#include "sound/mididrv.h"
@ -549,6 +550,8 @@ void LauncherDialog::open() {
// failure to launch a game. Otherwise, pressing ESC will attempt to
// re-launch the same game again.
ConfMan.setActiveDomain("");
CursorMan.popAllCursors();
Dialog::open();
updateButtons();

View File

@ -365,8 +365,6 @@ void NewGui::openDialog(Dialog *dialog) {
_dialogStack.push(dialog);
_needRedraw = true;
CursorMan.popAllCursors();
// We reflow the dialog just before opening it. If the screen changed
// since the last time we looked, also refresh the loaded theme,
// and reflow all other open dialogs, too.