Restore old double-click/enter behavior of the add-ons dialog (bug #17345)

This commit is contained in:
Ignacio R. Morelle 2010-12-19 03:26:26 +00:00
parent 3edd7f940e
commit a86e32973e
2 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,8 @@ Version 1.9.3+svn:
* User interface:
* Fix alignment of text labels in certain confirmation dialogs (e.g.
Quit Game/Editor)
* Fix behavior of add-ons download dialog on double-click/enter
(bug #17345)
* Miscellaneous and bugfixes:
* Fix --data-dir command line option
* Better detect mouse button state when window is activated.

View File

@ -1260,6 +1260,7 @@ namespace {
_("Choose the add-on to download."));
addon_dialog.add_button(new gui::standard_dialog_button(disp.video(), _("Download"), 0, false), gui::dialog::BUTTON_STANDARD);
addon_dialog.add_button(new gui::standard_dialog_button(disp.video(), _("Done"), 1, true), gui::dialog::BUTTON_STANDARD);
addon_dialog.set_basic_behavior(gui::OK_CANCEL);
gui::menu::imgsel_style addon_style(gui::menu::bluebg_style);
//make sure the icon isn't too big