Skip to content

Commit

Permalink
Merge pull request #352 from dalthviz/spyder_9826
Browse files Browse the repository at this point in the history
PR: Inherit widget style in plot's context menu
  • Loading branch information
ccordoba12 authored Jul 17, 2019
2 parents 2a32d06 + 46f1f19 commit b2fa483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtconsole/rich_jupyter_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _context_menu_make(self, pos):
format = self._control.cursorForPosition(pos).charFormat()
name = format.stringProperty(QtGui.QTextFormat.ImageName)
if name:
menu = QtGui.QMenu()
menu = QtGui.QMenu(self)

menu.addAction('Copy Image', lambda: self._copy_image(name))
menu.addAction('Save Image As...', lambda: self._save_image(name))
Expand Down

0 comments on commit b2fa483

Please sign in to comment.