Changed one line in CZ dictionary for the Configuration Substitutions

dialog.
Fixed one bug in the preceding commit.
This commit is contained in:
Vojtech Bubnik 2021-07-07 15:22:42 +02:00
parent 1c078b1f47
commit b8531b86e4

View File

@ -1878,7 +1878,7 @@ void GUI_App::add_config_menu(wxMenuBar *menu)
if (!dlg.snapshot_to_activate().empty()) {
if (! Config::SnapshotDB::singleton().is_on_snapshot(*app_config) &&
! Config::take_config_snapshot_cancel_on_error(*app_config, Config::Snapshot::SNAPSHOT_BEFORE_ROLLBACK, "",
GUI::format(_L("Continue to activate a configuration snapshot %1%?", ex.what()))))
GUI::format(_L("Continue to activate a configuration snapshot %1%?"), dlg.snapshot_to_activate())))
break;
try {
app_config->set("on_snapshot", Config::SnapshotDB::singleton().restore_snapshot(dlg.snapshot_to_activate(), *app_config).id);