Skip to content

Commit e6d5fc8

Browse files
committed
Fix checked arg
1 parent 8018fc6 commit e6d5fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preditor/scintilla/documenteditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def __init__(self, parent, filename='', lineno=0, delayable_engine='default'):
142142
self.customContextMenuRequested.connect(self.showMenu)
143143
self.selectionChanged.connect(self.updateSelectionInfo)
144144
window = self.window()
145-
if hasattr(window, 'openFileMonitor'):
145+
if hasattr(window, 'styleSheetChanged'):
146146
window.styleSheetChanged.connect(self.updateColorScheme)
147147

148148
# Create shortcuts

0 commit comments

Comments
 (0)