From 8787c5fb57231ce599002739519b41256655dfb1 Mon Sep 17 00:00:00 2001 From: dail8859 Date: Wed, 25 Dec 2024 12:21:25 -0500 Subject: [PATCH] Fix EditorDecorator bug disconnecting all slots --- src/NotepadNext/decorators/EditorDecorator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NotepadNext/decorators/EditorDecorator.cpp b/src/NotepadNext/decorators/EditorDecorator.cpp index 9ffbfd18e..42197ef82 100644 --- a/src/NotepadNext/decorators/EditorDecorator.cpp +++ b/src/NotepadNext/decorators/EditorDecorator.cpp @@ -27,7 +27,7 @@ void EditorDecorator::setEnabled(bool b) connect(editor, &ScintillaEdit::notify, this, &EditorDecorator::notify); } else { - disconnect(editor, nullptr, this, nullptr); + disconnect(editor, &ScintillaEdit::notify, this, nullptr); } emit stateChanged(enabled);