Only delete lines under cursor if not `None`
parent
f7c0ee930a
commit
b734af6dd0
|
@ -219,7 +219,7 @@ class LineEditor(Struct):
|
||||||
lines = self._order_lines.pop(uuid)
|
lines = self._order_lines.pop(uuid)
|
||||||
if lines:
|
if lines:
|
||||||
cursor = self.godw.get_cursor()
|
cursor = self.godw.get_cursor()
|
||||||
|
if cursor:
|
||||||
for line in lines:
|
for line in lines:
|
||||||
# if hovered remove from cursor set
|
# if hovered remove from cursor set
|
||||||
hovered = cursor._hovered
|
hovered = cursor._hovered
|
||||||
|
|
Loading…
Reference in New Issue