use custom icons for checkboxes
This commit is contained in:
@@ -67,9 +67,9 @@ class RAction():
|
||||
def _update_check_state(self):
|
||||
if self._action:
|
||||
if self.checked:
|
||||
self._action.setIcon(Icon("icons/ionicons/checkbox-outline.svg"))
|
||||
self._action.setIcon(Icon("icons/myicons/rect-checked.svg"))
|
||||
else:
|
||||
self._action.setIcon(Icon("icons/ionicons/square-outline.svg"))
|
||||
self._action.setIcon(Icon("icons/myicons/rect.svg"))
|
||||
|
||||
def set_label(self, label: str):
|
||||
if self._action:
|
||||
|
||||
Reference in New Issue
Block a user