- fixed bug: on first ever usage of FlatCAM beta the last loaded language (alphabetically) is used instead of English (in current state is Russian)

- made sure the the GUI settings are cleared on each new install
- added a new signal that is triggered by change in visibility for the Shell Dock and will change the status of the shell label in the status bar. In this way the label will really be changed each time the shell is toggled
This commit is contained in:
Marius Stanciu
2020-06-07 22:32:36 +03:00
committed by Marius
parent a71292af30
commit e2df2c3b62
4 changed files with 51 additions and 24 deletions

View File

@@ -135,7 +135,7 @@ def apply_language(domain, lang=None):
if settings.contains("language"):
name = settings.value('language')
else:
name = settings.value('English')
name = 'English'
# in case the 'language' parameter is not in QSettings add it to QSettings and it's value is
# the default language, English
settings.setValue('language', 'English')