summaryrefslogtreecommitdiff
path: root/gtk2_ardour/global_port_matrix.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-20 22:01:22 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-20 22:01:22 +0000
commit85c2fd2b692e37dd1c5049229fb5733e0e262cc3 (patch)
tree5af5c5e9d6607854f6fdd2ccdaf735ba656d6ffd /gtk2_ardour/global_port_matrix.cc
parent7a76e8ae96c20b270dd3104328f8bee199c9a770 (diff)
Add a menu option and key press (F) in port matrices to flip the selected row and columns in the matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@12804 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/global_port_matrix.cc')
-rw-r--r--gtk2_ardour/global_port_matrix.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc
index f229a1a4ac..d749990463 100644
--- a/gtk2_ardour/global_port_matrix.cc
+++ b/gtk2_ardour/global_port_matrix.cc
@@ -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 ();
}