Fixes a small bug in when closing fullScreenEditor

This commit is contained in:
Olivier Keshavjee 2017-10-14 11:12:56 +02:00
parent 452ac6212c
commit f069183ac8

View file

@ -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()