Skip to content

Commit d6346c8

Browse files
committed
Use clearer cut/copy/paste icons in python console
1 parent ae1618d commit d6346c8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

python/console/console.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def __init__(self, parent=None):
211211
self.cutEditorButton = QAction(self)
212212
self.cutEditorButton.setCheckable(False)
213213
self.cutEditorButton.setEnabled(True)
214-
self.cutEditorButton.setIcon(QgsApplication.getThemeIcon("console/iconCutEditorConsole.png"))
214+
self.cutEditorButton.setIcon(QgsApplication.getThemeIcon("mActionEditCut.png"))
215215
self.cutEditorButton.setMenuRole(QAction.PreferencesRole)
216216
self.cutEditorButton.setIconVisibleInMenu(True)
217217
self.cutEditorButton.setToolTip(cutEditorBt)
@@ -221,7 +221,7 @@ def __init__(self, parent=None):
221221
self.copyEditorButton = QAction(self)
222222
self.copyEditorButton.setCheckable(False)
223223
self.copyEditorButton.setEnabled(True)
224-
self.copyEditorButton.setIcon(QgsApplication.getThemeIcon("console/iconCopyEditorConsole.png"))
224+
self.copyEditorButton.setIcon(QgsApplication.getThemeIcon("mActionEditCopy.png"))
225225
self.copyEditorButton.setMenuRole(QAction.PreferencesRole)
226226
self.copyEditorButton.setIconVisibleInMenu(True)
227227
self.copyEditorButton.setToolTip(copyEditorBt)
@@ -231,7 +231,7 @@ def __init__(self, parent=None):
231231
self.pasteEditorButton = QAction(self)
232232
self.pasteEditorButton.setCheckable(False)
233233
self.pasteEditorButton.setEnabled(True)
234-
self.pasteEditorButton.setIcon(QgsApplication.getThemeIcon("console/iconPasteEditorConsole.png"))
234+
self.pasteEditorButton.setIcon(QgsApplication.getThemeIcon("mActionEditPaste.png"))
235235
self.pasteEditorButton.setMenuRole(QAction.PreferencesRole)
236236
self.pasteEditorButton.setIconVisibleInMenu(True)
237237
self.pasteEditorButton.setToolTip(pasteEditorBt)

python/console/console_editor.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ def contextMenuEvent(self, e):
297297
iconFind = QgsApplication.getThemeIcon("console/iconSearchEditorConsole.png")
298298
iconSyntaxCk = QgsApplication.getThemeIcon("console/iconSyntaxErrorConsole.png")
299299
iconObjInsp = QgsApplication.getThemeIcon("console/iconClassBrowserConsole.png")
300-
iconCut = QgsApplication.getThemeIcon("console/iconCutEditorConsole.png")
301-
iconCopy = QgsApplication.getThemeIcon("console/iconCopyEditorConsole.png")
302-
iconPaste = QgsApplication.getThemeIcon("console/iconPasteEditorConsole.png")
300+
iconCut = QgsApplication.getThemeIcon("mActionEditCut.png")
301+
iconCopy = QgsApplication.getThemeIcon("mActionEditCopy.png")
302+
iconPaste = QgsApplication.getThemeIcon("mActionEditPaste.png")
303303
menu.addAction(
304304
QCoreApplication.translate("PythonConsole", "Hide Editor"),
305305
self.hideEditor)

0 commit comments

Comments
 (0)