Convert two GUI1 popups to GUI2
This commit is contained in:
parent
8eafd50980
commit
100e463473
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "undo_recall_action.hpp"
|
||||
#include "create.hpp"
|
||||
|
||||
#include "../construct_dialog.hpp"
|
||||
#include "gui/dialogs/transient_message.hpp"
|
||||
#include "../resources.hpp"
|
||||
#include "../team.hpp"
|
||||
#include "../replay.hpp"
|
||||
|
@ -107,7 +107,7 @@ bool recall_action::redo(int side)
|
|||
}
|
||||
sync.do_final_checkup();
|
||||
} else {
|
||||
gui::dialog(gui.video(), "", msg, gui::OK_ONLY).show();
|
||||
gui2::show_transient_message(gui.video(), "", msg);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "undo_recruit_action.hpp"
|
||||
#include "create.hpp"
|
||||
|
||||
#include "../construct_dialog.hpp"
|
||||
#include "gui/dialogs/transient_message.hpp"
|
||||
#include "../resources.hpp"
|
||||
#include "../team.hpp"
|
||||
#include "../replay.hpp"
|
||||
|
@ -105,7 +105,7 @@ bool recruit_action::redo(int side)
|
|||
}
|
||||
sync.do_final_checkup();
|
||||
} else {
|
||||
gui::dialog(gui.video(), "", msg, gui::OK_ONLY).show();
|
||||
gui2::show_transient_message(gui.video(), "", msg);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue