From 2a138c82802099f903b58039703f7de4e70f8487 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 5 Dec 2023 11:24:24 +0100 Subject: Fix export of type status --- mga-advisor.py | 4 ++-- 1 file 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()) -- cgit v1.2.1