- added a new package to be installed in Linux to make available the black theme for FlatCAM beta
- moved all the 'share' resources (icons) to the 'assets/resources' folder - some more fixes to problems generated by latest changes in the open handlers - modified the make_freezed.py script for the new location of the icons - added a fix for the ConnectionRefusedError in Linux that is issued when first running after a FlatCAM crash
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user