Skip to content

Commit

Permalink
harmonize open script icons
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed May 20, 2018
1 parent 1b3a47a commit 6b3ebfc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion images/images.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@
<file>themes/default/console/iconCodepadConsole.svg</file>
<file>themes/default/console/iconHelpConsole.svg</file>
<file>themes/default/console/iconHideToolConsole.svg</file>
<file>themes/default/console/iconOpenConsole.svg</file>
<file>themes/default/console/iconQtCoreConsole.svg</file>
<file>themes/default/console/iconQtGuiConsole.svg</file>
<file>themes/default/console/mIconRunConsole.svg</file>
Expand Down Expand Up @@ -345,6 +344,7 @@
<file>themes/default/mActionSaveEdits.svg</file>
<file>themes/default/mActionSaveMapAsImage.svg</file>
<file>themes/default/mActionScaleBar.svg</file>
<file>themes/default/mActionScriptOpen.svg</file>
<file>themes/default/mActionSelect.svg</file>
<file>themes/default/mActionSelectAll.svg</file>
<file>themes/default/mActionSelectedToTop.svg</file>
Expand Down
1 change: 0 additions & 1 deletion images/themes/default/console/iconOpenConsole.svg

This file was deleted.

1 change: 1 addition & 0 deletions images/themes/default/mActionScriptOpen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion python/console/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def __init__(self, parent=None):
self.openFileButton = QAction(self)
self.openFileButton.setCheckable(False)
self.openFileButton.setEnabled(True)
self.openFileButton.setIcon(QgsApplication.getThemeIcon("console/iconOpenConsole.svg"))
self.openFileButton.setIcon(QgsApplication.getThemeIcon("mActionScriptOpen.svg"))
self.openFileButton.setMenuRole(QAction.PreferencesRole)
self.openFileButton.setIconVisibleInMenu(True)
self.openFileButton.setToolTip(openFileBt)
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/script/ScriptEditorDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, filePath=None, parent=None):
self.toolBar.setIconSize(iface.iconSize())

self.actionOpenScript.setIcon(
QgsApplication.getThemeIcon('/mActionFileOpen.svg'))
QgsApplication.getThemeIcon('/mActionScriptOpen.svg'))
self.actionSaveScript.setIcon(
QgsApplication.getThemeIcon('/mActionFileSave.svg'))
self.actionSaveScriptAs.setIcon(
Expand Down

0 comments on commit 6b3ebfc

Please sign in to comment.