Add a menu option and key press (F) in port matrices to flip the selected row and...
[ardour.git] / gtk2_ardour / global_port_matrix.cc
index f229a1a4ac8d16aeeb2d493db44afee1d60eeaf9..d7499904639e37d9091597dcbb765cb8e2fa5d8b 100644 (file)
@@ -160,6 +160,8 @@ GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t)
                break;
        }
 
+       signal_key_press_event().connect (sigc::mem_fun (_port_matrix, &PortMatrix::key_press));
+
        add (_port_matrix);
        _port_matrix.show ();
 }