projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e095a0d
)
setDuplex: set tx->dialog to NULL after it has been destroyed
author
c vw
<dl1ycf@darc.de>
Thu, 3 Jun 2021 14:53:39 +0000
(16:53 +0200)
committer
c vw
<dl1ycf@darc.de>
Thu, 3 Jun 2021 14:53:39 +0000
(16:53 +0200)
radio_menu.c
patch
|
blob
|
history
diff --git
a/radio_menu.c
b/radio_menu.c
index 8145b7df28562d78aaaecf3318393ae2ede395b1..0cec40a06b0a5dc64444a0ddea06b73926ec9b52 100644
(file)
--- a/
radio_menu.c
+++ b/
radio_menu.c
@@
-229,6
+229,7
@@
void setDuplex() {
GtkWidget *content=gtk_dialog_get_content_area(GTK_DIALOG(transmitter->dialog));
gtk_container_remove(GTK_CONTAINER(content),transmitter->panel);
gtk_widget_destroy(transmitter->dialog);
+ transmitter->dialog=NULL;
reconfigure_transmitter(transmitter,display_width,rx_height);
}
g_idle_add(ext_vfo_update, NULL);