Sync all themes with improvements of mass dialog. Fixed list positioning
svn-id: r41264
This commit is contained in:
parent
f2547eb62c
commit
b49d23b898
7 changed files with 25 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue