From ecf8fb6a5f0cdd674c79fec78698aa66099f5fc7 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 6 Jul 2021 02:38:27 -0400 Subject: fix up channel row selection to work how i want it to --- components/channels.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/channels.hpp') 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 &model, const Gtk::TreeModel::Path &path, bool is_currently_selected); + + Gtk::TreeModel::Path m_last_selected; public: typedef sigc::signal type_signal_action_channel_item_select; -- cgit v1.2.3