diff options
author | David Robillard <d@drobilla.net> | 2016-07-08 16:13:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-08 16:13:52 -0400 |
commit | 7135ce7a402d90fc1312f861dda9009374a904ef (patch) | |
tree | a52d7b5005d1130a08d8ca1e4cf25db7cd5e8785 /src/Patchage.hpp | |
parent | da388743027dfec64dc7ad7f1b3927eb7ef62468 (diff) | |
download | patchage-7135ce7a402d90fc1312f861dda9009374a904ef.tar.gz patchage-7135ce7a402d90fc1312f861dda9009374a904ef.tar.bz2 patchage-7135ce7a402d90fc1312f861dda9009374a904ef.zip |
Add option to disable port sorting
Fixes #1082
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r-- | src/Patchage.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp index 2ce0984..cf550f0 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -92,6 +92,7 @@ public: void store_window_location(); bool show_human_names() const { return _menu_view_human_names->get_active(); } + bool sort_ports() const { return _menu_view_sort_ports->get_active(); } protected: class BufferSizeColumns : public Gtk::TreeModel::ColumnRecord { @@ -112,6 +113,7 @@ protected: void on_view_toolbar(); void on_store_positions(); void on_view_human_names(); + void on_view_sort_ports(); void on_zoom_in(); void on_zoom_out(); void on_zoom_normal(); @@ -174,6 +176,7 @@ protected: Widget<Gtk::CheckMenuItem> _menu_view_toolbar; Widget<Gtk::MenuItem> _menu_view_refresh; Widget<Gtk::CheckMenuItem> _menu_view_human_names; + Widget<Gtk::CheckMenuItem> _menu_view_sort_ports; Widget<Gtk::ImageMenuItem> _menu_zoom_in; Widget<Gtk::ImageMenuItem> _menu_zoom_out; Widget<Gtk::ImageMenuItem> _menu_zoom_normal; |