diff options
-rw-r--r-- | src/Patchage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 0ca8de2..693d4ac 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -509,6 +509,8 @@ Patchage::connect_widgets() sigc::mem_fun(_menu_alsa_connect, &Gtk::MenuItem::set_sensitive), false)); _alsa_driver->signal_attached.connect(sigc::bind( sigc::mem_fun(_menu_alsa_disconnect, &Gtk::MenuItem::set_sensitive), true)); + _alsa_driver->signal_attached.connect( + sigc::mem_fun(this, &Patchage::menu_view_refresh)); _alsa_driver->signal_detached.connect(sigc::bind( sigc::mem_fun(_menu_alsa_connect, &Gtk::MenuItem::set_sensitive), true)); |