projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d37345
)
Fix selection on same action_dialod button loosing red background
author
John Melton G0ORX
<john.d.melton@googlemail.com>
Fri, 20 Aug 2021 07:58:17 +0000
(08:58 +0100)
committer
John Melton G0ORX
<john.d.melton@googlemail.com>
Fri, 20 Aug 2021 07:58:17 +0000
(08:58 +0100)
action_dialog.c
patch
|
blob
|
history
diff --git
a/action_dialog.c
b/action_dialog.c
index f60063d685ced1b704e991c2f0d997a32bf81629..0e4cd484da669c62259d956228845059964c65b0 100644
(file)
--- a/
action_dialog.c
+++ b/
action_dialog.c
@@
-18,7
+18,7
@@
static int action;
static void action_select_cb(GtkWidget *widget,gpointer data) {
CHOICE *choice=(CHOICE *)data;
g_signal_handler_block(G_OBJECT(previous_button),previous_signal_id);
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(previous_button),
FALSE
);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(previous_button),
widget==previous_button
);
g_signal_handler_unblock(G_OBJECT(previous_button),previous_signal_id);
previous_button=widget;
previous_signal_id=choice->signal_id;