Skip to content

Commit

Permalink
Merge pull request #10 from vallsv/viewpoints-visible-in-menu
Browse files Browse the repository at this point in the history
I do like.
It was already the case on my system without this call, but it is most probably system dependent, thanks.
  • Loading branch information
t20100 committed Sep 11, 2017
2 parents d0343d6 + ea4346f commit d72cf52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion silx/gui/plot3d/tools/ViewpointTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

__authors__ = ["T. Vincent"]
__license__ = "MIT"
__date__ = "15/09/2016"
__date__ = "08/09/2017"


from silx.gui import qt
Expand Down Expand Up @@ -66,6 +66,7 @@ def __init__(self, plot3D, parent=None):
iconname, text, tooltip = actionInfo

action = qt.QAction(getQIcon(iconname), text, None)
action.setIconVisibleInMenu(True)
action.setCheckable(False)
action.setToolTip(tooltip)
self.addAction(action)
Expand Down

0 comments on commit d72cf52

Please sign in to comment.