We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 928f3e2 + a02d683 commit e620a3cCopy full SHA for e620a3c
1 file changed
plugins/view.py
@@ -95,7 +95,7 @@ class MdeCenteredLineKeeper(MdeViewEventListener):
95
96
def on_modified(self):
97
sel = self.view.sel()
98
- if sel and len(sel) != 1:
+ if not sel or len(sel) != 1:
99
return
100
101
settings = self.view.settings()
0 commit comments