From 3728e96b17f46133f8e6ce4a2a99a7c72cf7ce18 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 13 Jun 2006 09:57:16 +0000 Subject: Disable the theme before restoring the cursor, not afterwards. Otherwise there may be a noticeable amount of time (disabling the theme can be comparatively slow) where the cursor is wrong. svn-id: r23082 --- gui/newgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/newgui.cpp b/gui/newgui.cpp index cf88d559da..f4ec342925 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -285,8 +285,8 @@ void NewGui::runLoop() { PaletteMan.popCursorPalette(); if (didSaveState) { - restoreState(); _theme->disable(); + restoreState(); } } -- cgit v1.2.3