CAM: fix context menu callbacks for Qt6
This commit is contained in:
@@ -95,9 +95,12 @@ class ViewProvider(object):
|
||||
|
||||
edit = translate("Path", "Edit")
|
||||
action = QtGui.QAction(edit, menu)
|
||||
action.triggered.connect(self.setEdit)
|
||||
action.triggered.connect(self._editInContextMenuTriggered)
|
||||
menu.addAction(action)
|
||||
|
||||
def _editInContextMenuTriggered(self, checked):
|
||||
self.setEdit()
|
||||
|
||||
|
||||
_factory = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user