From bfb2490938099982a2571bd07f4aab54128ce34a Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 23 Apr 2022 15:33:54 -0400 Subject: dont expand channel list when changing tabs --- src/components/chatwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/chatwindow.cpp') diff --git a/src/components/chatwindow.cpp b/src/components/chatwindow.cpp index f51b58f..2a6a67e 100644 --- a/src/components/chatwindow.cpp +++ b/src/components/chatwindow.cpp @@ -21,7 +21,7 @@ ChatWindow::ChatWindow() { #ifdef WITH_LIBHANDY m_tab_switcher = Gtk::make_managed(); m_tab_switcher->signal_channel_switched_to().connect([this](Snowflake id) { - m_signal_action_channel_click.emit(id); + m_signal_action_channel_click.emit(id, false); }); #endif @@ -65,7 +65,7 @@ ChatWindow::ChatWindow() { m_completer.show(); m_chat->signal_action_channel_click().connect([this](Snowflake id) { - m_signal_action_channel_click.emit(id); + m_signal_action_channel_click.emit(id, true); }); m_chat->signal_action_chat_load_history().connect([this](Snowflake id) { m_signal_action_chat_load_history.emit(id); -- cgit v1.2.3