summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-12-05 11:24:24 +0100
committerPapoteur <papoteur@mageia.org>2023-12-05 11:24:24 +0100
commit2a138c82802099f903b58039703f7de4e70f8487 (patch)
tree5907f8de69338c8050901448ecbe085fd3ff6a1a
parent19b9f1ccb7b3f834f33fdc25f69b84b7f255da1c (diff)
downloadmga-advisor-2a138c82802099f903b58039703f7de4e70f8487.tar
mga-advisor-2a138c82802099f903b58039703f7de4e70f8487.tar.gz
mga-advisor-2a138c82802099f903b58039703f7de4e70f8487.tar.bz2
mga-advisor-2a138c82802099f903b58039703f7de4e70f8487.tar.xz
mga-advisor-2a138c82802099f903b58039703f7de4e70f8487.zip
Fix export of type status
-rw-r--r--mga-advisor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mga-advisor.py b/mga-advisor.py
index 85e675a..d54ccd4 100644
--- a/mga-advisor.py
+++ b/mga-advisor.py
@@ -194,9 +194,9 @@ class Widget(QWidget):
data = dict()
- if self.ui.bugfix_rb.isEnabled():
+ if self.ui.bugfix_rb.isChecked():
data['type'] = 'bugfix'
- if self.ui.security_rb.isEnabled():
+ if self.ui.security_rb.isChecked():
data['type'] = 'security'
if self.ui.subject_le.text() != "":
data['subject'] = self.sanitize_line(self.ui.subject_le.text())