def show(self): """When shown, update document, if possible. """ DockWidget.show(self) self._scheduleDocumentProcessing()