Skip to content

Commit 302b3a5

Browse files
authored
Merge pull request #23687 from ccordoba12/issue-23074
PR: Set icon in constructor for `ConfigDialog` (Widgets)
2 parents a383cd8 + ab09a61 commit 302b3a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spyder/plugins/preferences/widgets/configdialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ class ConfigDialog(SidebarDialog):
2828

2929
# Constants
3030
TITLE = _("Preferences")
31-
ICON = ima.icon('configure')
3231
MIN_WIDTH = 940 if MAC else (875 if WIN else 920)
3332
MIN_HEIGHT = 700 if MAC else (660 if WIN else 670)
3433

3534
def __init__(self, parent=None):
35+
self.ICON = ima.icon('configure')
3636
SidebarDialog.__init__(self, parent)
3737

3838
# Attributes

0 commit comments

Comments
 (0)