Scenario Editor: Redraw screen after a menu command

This commit is contained in:
2015-09-26 14:17:05 -04:00
parent 4866081def
commit 06930e30d4

View File

@@ -419,7 +419,6 @@ void handle_menu_choice(eMenu item_hit) {
case eMenu::SCEN_TEXT_DUMP: case eMenu::SCEN_TEXT_DUMP:
if(cChoiceDlog("text-dump-confirm", {"okay", "cancel"}).show() == "okay") if(cChoiceDlog("text-dump-confirm", {"okay", "cancel"}).show() == "okay")
scen_text_dump(); scen_text_dump();
redraw_screen();
break; break;
case eMenu::TOWN_DETAILS: case eMenu::TOWN_DETAILS:
edit_town_details(); edit_town_details();
@@ -553,6 +552,7 @@ void handle_menu_choice(eMenu item_hit) {
} }
if(isHelp) if(isHelp)
cChoiceDlog(helpDlog).show(); cChoiceDlog(helpDlog).show();
redraw_screen();
} }
// This is here to try and fix a major graphical bug while scrolling on WINE // This is here to try and fix a major graphical bug while scrolling on WINE