Fix more bugs
This commit is contained in:
parent
d08c4a1971
commit
df8fba3c30
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user