diff options
-rw-r--r-- | mga-advisor.py | 4 |
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()) |