Enforce some GUI consistency on the "not an MP save" alert

* Use gui2::show_transient_error_message().
 * Add missing stop at the end of the message.
This commit is contained in:
Ignacio R. Morelle 2014-01-16 01:16:44 -03:00
parent 0e61ab60a4
commit 51514b635d

View File

@ -29,6 +29,7 @@
#include "gui/dialogs/game_save.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/campaign_difficulty.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "log.hpp"
@ -689,7 +690,7 @@ void loadgame::load_multiplayer_game()
}
if(gamestate_.classification().campaign_type != "multiplayer") {
gui2::show_message(gui_.video(), "", _("This is not a multiplayer save"));
gui2::show_transient_error_message(gui_.video(), _("This is not a multiplayer save."));
throw load_game_cancelled_exception();
}