diff options
-rw-r--r-- | mga-advisor.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mga-advisor.py b/mga-advisor.py index 319e644..c3351a8 100644 --- a/mga-advisor.py +++ b/mga-advisor.py @@ -105,7 +105,7 @@ class Widget(QWidget): QApplication.setOverrideCursor(QCursor(Qt.WaitCursor)) self.clean() self.ui.status.setText("Loading...") - self.repaint() + self.ui.status.repaint() url = os.path.join(BASE_URL, self.ui.bug_le.text()) + "?include_fields=cf_rpmpkg,cf_cve,url,component" headers = {'Accept': 'application/json'} r = requests.get(url, headers=headers) @@ -164,6 +164,11 @@ class Widget(QWidget): self.ui.subject_le.setText("") self.ui.list_cve.clear() self.ui.description_te.clear() + self.ui.list_ref.repaint() + self.ui.list_src.repaint() + self.ui.subject_le.repaint() + self.ui.list_cve.repaint() + self.ui.description_te.repaint() def add_src(self): dl = SrcDialog() |