Skip to content

Commit

Permalink
no attribute 'setShortcutVisibleInContextMenu' fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YvZheng committed Oct 22, 2019
1 parent 5ffc0ca commit d02535b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NuistRadar/GraphicalInterface/RadarUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def setupUi(self, MainWindow):
icon26 = QtGui.QIcon()
icon26.addPixmap(QtGui.QPixmap(":/res/icon/icons8-radar-64.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionwithmap.setIcon(icon26)
self.actionwithmap.setShortcutVisibleInContextMenu(False)
#self.actionwithmap.setShortcutVisibleInContextMenu(False)
self.actionwithmap.setObjectName("actionwithmap")
self.actioncontinuous = QtWidgets.QAction(MainWindow)
self.actioncontinuous.setCheckable(True)
Expand Down

0 comments on commit d02535b

Please sign in to comment.