Skip to content

Commit

Permalink
apport-kde: Fix inverse order of choices
Browse files Browse the repository at this point in the history
All dialog windows in apport-kde have the presented choices listed in
the inverse order.

Running `/usr/share/apport/apport-kde -f` will open a dialog window
asking what kind of problem the user wants to report and presents
different choices (which have the inverse order). There will be
follow-up question with their choices inversed as well. That confuses
the users and makes it nearly impossible to correctly report a generic
bug.

Bug: https://launchpad.net/bugs/1967965
Fixes: 6f13af4 ("Added apport-kde[...]")
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
  • Loading branch information
bdrung committed Jul 29, 2022
1 parent caa2d9e commit c869cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kde/apport-kde
Expand Up @@ -557,7 +557,7 @@ class MainUserInterface(apport.ui.UserInterface):
b = QCheckBox(option)
else:
b = QRadioButton(option)
dialog.vbox_choices.insertWidget(0, b)
dialog.vbox_choices.addWidget(b)

response = dialog.exec_()

Expand Down

0 comments on commit c869cea

Please sign in to comment.