Skip to content
Permalink
Browse files

Use clearer cut/copy/paste icons in python console

  • Loading branch information
nyalldawson committed Feb 26, 2016
1 parent ae1618d commit d6346c882bab48d0b087808dda7474e827d306e4
Showing with 6 additions and 6 deletions.
  1. +3 −3 python/console/console.py
  2. +3 −3 python/console/console_editor.py
@@ -211,7 +211,7 @@ def __init__(self, parent=None):
self.cutEditorButton = QAction(self)
self.cutEditorButton.setCheckable(False)
self.cutEditorButton.setEnabled(True)
self.cutEditorButton.setIcon(QgsApplication.getThemeIcon("console/iconCutEditorConsole.png"))
self.cutEditorButton.setIcon(QgsApplication.getThemeIcon("mActionEditCut.png"))
self.cutEditorButton.setMenuRole(QAction.PreferencesRole)
self.cutEditorButton.setIconVisibleInMenu(True)
self.cutEditorButton.setToolTip(cutEditorBt)
@@ -221,7 +221,7 @@ def __init__(self, parent=None):
self.copyEditorButton = QAction(self)
self.copyEditorButton.setCheckable(False)
self.copyEditorButton.setEnabled(True)
self.copyEditorButton.setIcon(QgsApplication.getThemeIcon("console/iconCopyEditorConsole.png"))
self.copyEditorButton.setIcon(QgsApplication.getThemeIcon("mActionEditCopy.png"))
self.copyEditorButton.setMenuRole(QAction.PreferencesRole)
self.copyEditorButton.setIconVisibleInMenu(True)
self.copyEditorButton.setToolTip(copyEditorBt)
@@ -231,7 +231,7 @@ def __init__(self, parent=None):
self.pasteEditorButton = QAction(self)
self.pasteEditorButton.setCheckable(False)
self.pasteEditorButton.setEnabled(True)
self.pasteEditorButton.setIcon(QgsApplication.getThemeIcon("console/iconPasteEditorConsole.png"))
self.pasteEditorButton.setIcon(QgsApplication.getThemeIcon("mActionEditPaste.png"))
self.pasteEditorButton.setMenuRole(QAction.PreferencesRole)
self.pasteEditorButton.setIconVisibleInMenu(True)
self.pasteEditorButton.setToolTip(pasteEditorBt)
@@ -297,9 +297,9 @@ def contextMenuEvent(self, e):
iconFind = QgsApplication.getThemeIcon("console/iconSearchEditorConsole.png")
iconSyntaxCk = QgsApplication.getThemeIcon("console/iconSyntaxErrorConsole.png")
iconObjInsp = QgsApplication.getThemeIcon("console/iconClassBrowserConsole.png")
iconCut = QgsApplication.getThemeIcon("console/iconCutEditorConsole.png")
iconCopy = QgsApplication.getThemeIcon("console/iconCopyEditorConsole.png")
iconPaste = QgsApplication.getThemeIcon("console/iconPasteEditorConsole.png")
iconCut = QgsApplication.getThemeIcon("mActionEditCut.png")
iconCopy = QgsApplication.getThemeIcon("mActionEditCopy.png")
iconPaste = QgsApplication.getThemeIcon("mActionEditPaste.png")
menu.addAction(
QCoreApplication.translate("PythonConsole", "Hide Editor"),
self.hideEditor)

0 comments on commit d6346c8

Please sign in to comment.
You can’t perform that action at this time.