Skip to content

Commit e620a3c

Browse files
committed
Merge branch 'st3-develop' into st4-develop
2 parents 928f3e2 + a02d683 commit e620a3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class MdeCenteredLineKeeper(MdeViewEventListener):
9595

9696
def on_modified(self):
9797
sel = self.view.sel()
98-
if sel and len(sel) != 1:
98+
if not sel or len(sel) != 1:
9999
return
100100

101101
settings = self.view.settings()

0 commit comments

Comments
 (0)