Fix wrong radio buttons when changing shortcuts.

ubuntu/bionic
Simon Quigley 6 years ago
parent 838cd114d8
commit 76cfbfae25

10
debian/changelog vendored

@ -1,3 +1,13 @@
lxqt-globalkeys (0.12.0-3ubuntu1) UNRELEASED; urgency=medium
* Cherry-pick some upstream commits because the upstream release cycle is
too slow:
- Fix wrong radio buttons when changing shortcuts.
+ fix-wrong-radio-buttons.patch
+ Upstream commit a9ec3c0.
-- Simon Quigley <tsimonq2@ubuntu.com> Mon, 05 Feb 2018 20:38:35 -0600
lxqt-globalkeys (0.12.0-3) unstable; urgency=medium
* Bumped Standards to 4.1.2, no changes needed

@ -0,0 +1,25 @@
Description: Fix wrong radio buttons when changing shortcuts
When the dialog box was displayed, the radio buttons were not
initialized correctly if a client-type action was to be modified.
Author: ska67 <git17@ska67.de>
Origin: backport
Bug: https://github.com/lxde/lxqt/issues/1376
Applied-Upstream: commit:a9ec3c0
Last-Update: 2018-02-05
--- a/config/edit_action_dialog.cpp
+++ b/config/edit_action_dialog.cpp
@@ -197,6 +197,14 @@ bool EditActionDialog::load(qulonglong i
else
{
command_PTE->clear();
+
+ // To disable all radio boxes, once one has been selected, we need to turn exclusivity off temporarily
+ command_RB->setAutoExclusive(false);
+ dbus_method_RB->setAutoExclusive(false);
+ command_RB->setChecked(false);
+ dbus_method_RB->setChecked(false);
+ command_RB->setAutoExclusive(true);
+ dbus_method_RB->setAutoExclusive(true);
}
description_LE->setEnabled(canEdit);

@ -0,0 +1,2 @@
# Ubuntu-specific patches
fix-wrong-radio-buttons.patch
Loading…
Cancel
Save