- added option to run a script from the context menu of the sys tray icon. Changed the color of the sys tray icon to a green one so it will be visible on light and dark themes

This commit is contained in:
Marius Stanciu
2019-09-18 18:27:28 +03:00
parent 2f9ad61819
commit 04b3b8585f
4 changed files with 14 additions and 1 deletions

View File

@@ -400,7 +400,8 @@ class App(QtCore.QObject):
# #################################################################
self.parent_w = QtWidgets.QWidget()
self.trayIcon = FlatCAMSystemTray(app=self, icon=QtGui.QIcon('share/flatcam_icon32.png'), parent=self.parent_w)
self.trayIcon = FlatCAMSystemTray(app=self, icon=QtGui.QIcon('share/flatcam_icon32_green.png'),
parent=self.parent_w)
# #############################################################################
# ############################## Data #########################################