Merge branch 'Beta_8.995' into os-dependent-theme with Marius' changes for theme_safe_color

This commit is contained in:
Ali Khalil
2022-04-18 12:29:33 +03:00
5 changed files with 27 additions and 17 deletions

View File

@@ -54,6 +54,9 @@ class MainGUI(QtWidgets.QMainWindow):
final_save = QtCore.pyqtSignal(name='saveBeforeExit')
# screenChanged = QtCore.pyqtSignal(QtGui.QScreen, QtGui.QScreen)
def theme_safe_color(self, color):
return color
# https://www.w3.org/TR/SVG11/types.html#ColorKeywords
def __init__(self, app):
super(MainGUI, self).__init__()
@@ -62,6 +65,8 @@ class MainGUI(QtWidgets.QMainWindow):
self.app = app
self.decimals = self.app.decimals
FCLabel.patching_text_color = self.theme_safe_color
# Divine icon pack by Ipapun @ finicons.com
# #######################################################################