mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-10-01 01:36:27 +13:00
Fixes a small bug in when closing fullScreenEditor
This commit is contained in:
parent
452ac6212c
commit
f069183ac8
1 changed files with 2 additions and 1 deletions
|
@ -258,7 +258,8 @@ class fullScreenEditor(QWidget):
|
||||||
return QWidget.eventFilter(self, obj, event)
|
return QWidget.eventFilter(self, obj, event)
|
||||||
|
|
||||||
def dataChanged(self, topLeft, bottomRight):
|
def dataChanged(self, topLeft, bottomRight):
|
||||||
if not self._index:
|
# This is called sometimes after self has been destroyed. Don't know why.
|
||||||
|
if not self or not self._index:
|
||||||
return
|
return
|
||||||
if topLeft.row() <= self._index.row() <= bottomRight.row():
|
if topLeft.row() <= self._index.row() <= bottomRight.row():
|
||||||
self.updateStatusBar()
|
self.updateStatusBar()
|
||||||
|
|
Loading…
Reference in a new issue