mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 01:45:41 +00:00
Restore old double-click/enter behavior of the add-ons dialog (bug #17345)
This commit is contained in:
parent
3edd7f940e
commit
a86e32973e
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user