- added possibility of changing the Axis color and created a new parameter for that in Preferences

- some refactoring
- in a FCColorEntry GUI element, setting a color in the Color dialog will trigger the editingFinished signal therefore propagating the changes
This commit is contained in:
Marius Stanciu
2021-02-27 02:08:17 +02:00
committed by Marius
parent f480bafb66
commit f85be8d095
45 changed files with 204 additions and 102 deletions

View File

@@ -857,6 +857,7 @@ class FCColorEntry(QtWidgets.QFrame):
new_value = str(selected_color.name()) + self._extract_alpha(value)
self.set_value(new_value)
self.editingFinished.emit()
def _extract_color(self, value: str) -> str:
return value[:7]