diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-07-06 02:38:27 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-07-06 02:38:27 -0400 |
commit | ecf8fb6a5f0cdd674c79fec78698aa66099f5fc7 (patch) | |
tree | 64f82e706fa787935ed8174a912bac63aff8ed09 /components/channels.hpp | |
parent | 9ec52e3473f4e90ba940324a5d058afefc0bd8f1 (diff) | |
download | abaddon-portaudio-ecf8fb6a5f0cdd674c79fec78698aa66099f5fc7.tar.gz abaddon-portaudio-ecf8fb6a5f0cdd674c79fec78698aa66099f5fc7.zip |
fix up channel row selection to work how i want it to
Diffstat (limited to 'components/channels.hpp')
-rw-r--r-- | components/channels.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/channels.hpp b/components/channels.hpp index 0bc0b04..c0f0d33 100644 --- a/components/channels.hpp +++ b/components/channels.hpp @@ -131,6 +131,9 @@ protected: void OnRowCollapsed(const Gtk::TreeModel::iterator &iter, const Gtk::TreeModel::Path &path); void OnRowExpanded(const Gtk::TreeModel::iterator &iter, const Gtk::TreeModel::Path &path); + bool SelectionFunc(const Glib::RefPtr<Gtk::TreeModel> &model, const Gtk::TreeModel::Path &path, bool is_currently_selected); + + Gtk::TreeModel::Path m_last_selected; public: typedef sigc::signal<void, Snowflake> type_signal_action_channel_item_select; |