Skip to content

Commit

Permalink
Fix EditorDecorator bug disconnecting all slots
Browse files Browse the repository at this point in the history
  • Loading branch information
dail8859 committed Dec 25, 2024
1 parent 1da4d9c commit 8787c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NotepadNext/decorators/EditorDecorator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8787c5f

Please sign in to comment.