- fixed bug in saving the maximized state
- fixed bug in applying default language on first start - on activating 'V' key shortcut (zoom fit) the mouse cursor is now jumping to origin (0, 0) - fixed bug in saving toolbars state; the file was saved before setting the self.defaults['global_toolbar_view]
This commit is contained in:
@@ -112,6 +112,12 @@ def apply_language(domain, lang=None):
|
||||
name = settings.value('language')
|
||||
else:
|
||||
name = settings.value('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')
|
||||
|
||||
# This will write the setting to the platform specific storage.
|
||||
del settings
|
||||
else:
|
||||
name = str(lang)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user