remove shorthand & from checkbox name for easier retrieval
This commit is contained in:
1 parent
8b25d61d3b
commit
1be21903f6
1 file changed
+2
@@ -26,6 +26,8 @@ class MenuBase:
|
||||
action = QAction(name, **kwargs)
|
||||
action.setChecked(state)
|
||||
self.qmenu.addAction(action)
|
||||
# remove shorthand & from name for easier retrieval
|
||||
name = name.replace("&", "")
|
||||
self.checkboxes[name] = action
|
||||
return action
|
||||
|
||||
|
||||
Reference in new issue
Block a user