diff --git a/src/fime/worklog.py b/src/fime/worklog.py index fe67989..d25f938 100644 --- a/src/fime/worklog.py +++ b/src/fime/worklog.py @@ -178,7 +178,6 @@ class WorklogDialog(QtWidgets.QDialog): def showEvent(self, _): # reinitialize to purge caches self.rest = WorklogRest(self.config) - self._statuses = [] self.update_all() self.upload_button.setEnabled(False) @@ -186,6 +185,7 @@ class WorklogDialog(QtWidgets.QDialog): self.refresh_table() self.update_title() self.update_prev_next() + self._statuses = [] self.update_statuses() self.update_timer.start() @@ -328,8 +328,6 @@ class WorklogDialog(QtWidgets.QDialog): self._worklog_data[row][0] = self.tableWidget.item(row, 0).text() self.save() self.update_all() - # status view update might get filtered (if still fetching) in update_all, therefore we force it here again - self.update_status_view(row) self.upload_button.setEnabled(False) @QtCore.Slot()