From 43f21b54ff2ff80ed1d480b07116ba0cfa0b5e47 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 9 Feb 2021 12:34:00 +0100 Subject: Matrix: dont change seleection, or something --- src/QuickMedia.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/QuickMedia.cpp') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 5d4f7bd..6970920 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1114,7 +1114,6 @@ namespace QuickMedia { } else if(new_tabs.size() == 1 && new_tabs[0].page->get_type() == PageTypez::CHAT) { current_page = PageType::CHAT; current_chat_room = matrix->get_room_by_id(selected_item->url); - tabs[selected_tab].body->select_first_item(); while(window.isOpen()) { bool move_room = chat_page(static_cast(new_tabs[0].page.get()), current_chat_room, tabs, selected_tab, tab_associated_data[selected_tab]); if(!move_room) -- cgit v1.2.3