From ed1ad7d3d33682e161408aeb24ef106d324895f3 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 1 Aug 2019 11:28:08 -0300 Subject: [PATCH] fix: changing table state after refresh / downgrade error --- CHANGELOG.md | 2 +- fpakman/view/qt/window.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6e4a43b..b67dc189 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - apps table not showing empty descriptions - replacing default app icons by null icons - maximized window resize fix when filtering apps -- changing table state after retrieving app history or information +- changing table state after retrieving app history / information or an error happens - i18n ### Comments: diff --git a/fpakman/view/qt/window.py b/fpakman/view/qt/window.py index 633e8433..f5162dc7 100755 --- a/fpakman/view/qt/window.py +++ b/fpakman/view/qt/window.py @@ -338,7 +338,6 @@ class ManageWindow(QWidget): if self._can_notify_user(): system.notify_user(self.locale_keys['notification.downgrade.failed']) - self.change_update_state() self.checkbox_console.setChecked(True) def _finish_refresh(self, success: bool): @@ -347,7 +346,6 @@ class ManageWindow(QWidget): if success: self.refresh_apps() else: - self.change_update_state() self.checkbox_console.setChecked(True) def _change_updating_app_status(self, app_name: str):