From: c vw <dl1ycf@darc.de>
Date: Fri, 21 Aug 2020 08:30:55 +0000 (+0200)
Subject: Hide "Radio Mic" button upon opening this menu when local-mic is selected.
X-Git-Url: https://git.rkrishnan.org/pf/components/(%5B%5E?a=commitdiff_plain;h=1b620756e87765b9ea2e3f5c67cfcdda26185570;p=pihpsdr.git

Hide "Radio Mic" button upon opening this menu when local-mic is selected.
---

diff --git a/tx_menu.c b/tx_menu.c
index 1337786..b411e58 100644
--- a/tx_menu.c
+++ b/tx_menu.c
@@ -556,6 +556,7 @@ void tx_menu(GtkWidget *parent) {
 
 
   if(transmitter->local_microphone && (protocol==ORIGINAL_PROTOCOL || protocol==NEW_PROTOCOL)) {
+    gtk_widget_hide(micin_b);
     gtk_widget_hide(linein_b);
     gtk_widget_hide(micboost_b);
   }