GUI2: set restore flag on a few more dialogs
This commit is contained in:
parent
40ffa6ba88
commit
8abb0cf3a5
3 changed files with 6 additions and 0 deletions
|
@ -60,6 +60,8 @@ static void set_dont_ask_again(const bool ask_again)
|
|||
|
||||
tgame_delete::tgame_delete()
|
||||
{
|
||||
set_restore(true);
|
||||
|
||||
register_bool(
|
||||
"dont_ask_again", true, &get_dont_ask_again, &set_dont_ask_again);
|
||||
}
|
||||
|
|
|
@ -61,6 +61,8 @@ tgame_save_message::tgame_save_message(std::string& filename,
|
|||
const std::string& title,
|
||||
const std::string& message)
|
||||
{
|
||||
set_restore(true);
|
||||
|
||||
register_label("lblTitle", true, title);
|
||||
register_text("txtFilename", false, filename, true);
|
||||
register_label("lblMessage", true, message);
|
||||
|
|
|
@ -57,6 +57,8 @@ static void set_do_not_show_again(const bool do_not_show_again)
|
|||
|
||||
tmp_host_game_prompt::tmp_host_game_prompt()
|
||||
{
|
||||
set_restore(true);
|
||||
|
||||
register_bool("do_not_show_again",
|
||||
true,
|
||||
&get_do_not_show_again,
|
||||
|
|
Loading…
Add table
Reference in a new issue