- 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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user