Fix another crash at exit:
[ardour.git] / gtk2_ardour / keyeditor.cc
index b19b6d5fc009611b321026bac56e61bf0d1aecfe..aea8185f3bc5758456fbbadf5baf37ba816e5fbc 100644 (file)
@@ -122,7 +122,7 @@ KeyEditor::KeyEditor ()
        add (vpacker);
 
        unbind_button.set_sensitive (false);
-       UpdateBindings.connect (sigc::mem_fun (*this, &KeyEditor::refresh));
+       _refresh_connection = UpdateBindings.connect (sigc::mem_fun (*this, &KeyEditor::refresh));
 }
 
 void