Skip to content

Commit

Permalink
Convert two GUI1 popups to GUI2
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 20, 2016
1 parent 8eafd50 commit 100e463
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/actions/undo_recall_action.cpp
@@ -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"
Expand Down Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions src/actions/undo_recruit_action.cpp
@@ -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"
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 100e463

Please sign in to comment.