From b49d23b89810fc196a27e2d3c49e17364fc5f453 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 6 Jun 2009 17:50:30 +0000 Subject: Sync all themes with improvements of mass dialog. Fixed list positioning svn-id: r41264 --- gui/launcher.cpp | 7 +++++-- gui/themes/default.inc | 10 ++++++++-- gui/themes/scummclassic.zip | Bin 46309 -> 46407 bytes gui/themes/scummclassic/classic_layout.stx | 5 ++++- gui/themes/scummclassic/classic_layout_lowres.stx | 5 ++++- gui/themes/scummmodern.zip | Bin 150435 -> 150484 bytes .../scummmodern/scummmodern_layout_lowres.stx | 5 ++++- 7 files changed, 25 insertions(+), 7 deletions(-) diff --git a/gui/launcher.cpp b/gui/launcher.cpp index c1adc307b6..ce44341e14 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -631,15 +631,18 @@ void LauncherDialog::addGame() { if (alert.runModal() == GUI::kMessageOK && _browser->runModal() > 0) { MassAddDialog massAddDlg(_browser->getResult()); + // Save current game position, so on cancel cursor will move back ConfMan.set("temp_selection", _domains[_list->getSelected()], ConfigManager::kApplicationDomain); massAddDlg.runModal(); + // Update the ListWidget and force a redraw + updateListing(); + + // Set cursor to first detected game selectGame(ConfMan.get("temp_selection", ConfigManager::kApplicationDomain)); ConfMan.removeKey("temp_selection", ConfigManager::kApplicationDomain); - // Update the ListWidget and force a redraw - updateListing(); draw(); } diff --git a/gui/themes/default.inc b/gui/themes/default.inc index 297371463e..564b3b6ba3 100644 --- a/gui/themes/default.inc +++ b/gui/themes/default.inc @@ -976,7 +976,10 @@ "width='250' " "height='Globals.Line.Height' " "/> " -" " +" " " " " " -" " +" " " " " - + - + - +