Make the missing dependencies warning...
...when installing add-ons work as expected (fixes bug #15960)
This commit is contained in:
parent
5f55fa36e7
commit
fe75fa1ca0
2 changed files with 3 additions and 1 deletions
|
@ -88,6 +88,8 @@ Version 1.9.0-svn:
|
|||
* Fixed a bug in scoring of AI recall list. Patch by billynux.
|
||||
* Strip whitespace characters from .ign patterns (bug #15902)
|
||||
* Fixed wesnoth_addon_manager's support for .ign files (bug #15846)
|
||||
* When warning the player about installing add-ons with missing dependencies,
|
||||
make 'OK' and 'Cancel' work as expected (bug #15960)
|
||||
* Fixed tab completion not working in the new lobby (bug #14730)
|
||||
* Fixed compilation for g++ 4.5
|
||||
* Cleaned up the gui2 code at various places
|
||||
|
|
|
@ -510,7 +510,7 @@ namespace {
|
|||
count_missing), &symbols);
|
||||
std::string msg_reminder = utils::interpolate_variables_into_string(_("Do you still want to download $addon_title|? (You will have to install all the dependencies in order to play.)"), &symbols);
|
||||
|
||||
if(gui2::show_message(disp.video()
|
||||
if(!gui2::show_message(disp.video()
|
||||
, msg_title
|
||||
, msg_entrytxt + "\n \n" + missing + "\n \n" + msg_reminder
|
||||
, gui2::tmessage::ok_cancel_buttons) == gui2::twindow::OK) {
|
||||
|
|
Loading…
Add table
Reference in a new issue