Merge branch 'Beta' of https://bitbucket.org/jpcgt/flatcam into extract-prefs-code-from-app-class

This commit is contained in:
David Robertson
2020-04-29 02:57:17 +01:00
657 changed files with 750 additions and 261 deletions

View File

@@ -88,9 +88,9 @@ def on_language_apply_click(app, restart=False):
theme = 'white'
if theme == 'white':
resource_loc = 'share'
resource_loc = 'assets/resources'
else:
resource_loc = 'share'
resource_loc = 'assets/resources'
# do nothing if trying to apply the language that is the current language (already applied).
settings = QSettings("Open Source", "FlatCAM")
@@ -180,9 +180,9 @@ def restart_program(app, ask=None):
theme = 'white'
if theme == 'white':
resource_loc = 'share'
resource_loc = 'assets/resources'
else:
resource_loc = 'share'
resource_loc = 'assets/resources'
# close the Socket in ArgsThread class
app.new_launch.listener.close()