Prompt language selection on fresh startup

This commit is contained in:
Vojtech Kral 2019-04-29 18:27:46 +02:00
parent 69f81120e0
commit ba297a929a
3 changed files with 19 additions and 9 deletions

View file

@ -104,6 +104,7 @@ const std::string& shortkey_alt_prefix()
bool config_wizard_startup(bool app_config_exists)
{
if (!app_config_exists || wxGetApp().preset_bundle->printers.size() <= 1) {
wxGetApp().switch_language();
config_wizard(ConfigWizard::RR_DATA_EMPTY);
return true;
} else if (get_app_config()->legacy_datadir()) {