- 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:
Marius Stanciu
2020-04-28 17:23:49 +03:00
committed by Marius
parent eed7e3d620
commit f03d6bfda4
629 changed files with 61 additions and 43 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()