mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-27 18:50:39 +12:00
Fixes a small bug in when closing fullScreenEditor
This commit is contained in:
parent
452ac6212c
commit
f069183ac8
|
@ -258,7 +258,8 @@ class fullScreenEditor(QWidget):
|
|||
return QWidget.eventFilter(self, obj, event)
|
||||
|
||||
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
|
||||
if topLeft.row() <= self._index.row() <= bottomRight.row():
|
||||
self.updateStatusBar()
|
||||
|
|
Loading…
Reference in a new issue