From: c vw Date: Wed, 19 Aug 2020 14:56:49 +0000 (+0200) Subject: Hide "Mic In" button if local microphone is selected on startup X-Git-Url: https://git.rkrishnan.org/uri/vdrive/(%5B%5E?a=commitdiff_plain;h=3e0b882c824d332b3a7f28b89e585c8dfafdc582;p=pihpsdr.git Hide "Mic In" button if local microphone is selected on startup --- diff --git a/tx_menu.c b/tx_menu.c index 1657300..e4edd79 100644 --- a/tx_menu.c +++ b/tx_menu.c @@ -557,6 +557,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); }