aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Matrix.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 8e1e54e..8c9b1c1 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -623,9 +623,9 @@ namespace QuickMedia {
}
if(sort_on_update) {
sort_on_update = false;
- BodyItem *selected_item = body->get_selected();
+ //BodyItem *selected_item = body->get_selected();
sort_room_body_items(body->items);
- body_set_selected_item(body, selected_item);
+ //body_set_selected_item(body, selected_item);
}
matrix_delegate->update(MatrixPageType::ROOM_LIST);
if(filter_on_update) {
@@ -717,9 +717,9 @@ namespace QuickMedia {
Body *body_ptr = body.get();
TagData &tag_data = tag_body_items_by_name[url];
body->items = tag_data.room_body_items;
- BodyItem *selected_item = body->get_selected();
+ //BodyItem *selected_item = body->get_selected();
sort_room_body_items(body->items);
- body_set_selected_item(body.get(), selected_item);
+ //body_set_selected_item(body.get(), selected_item);
auto search_bar = create_search_bar("Search...", SEARCH_DELAY_FILTER);
auto rooms_page = std::make_unique<MatrixRoomsPage>(program, body_ptr, tag_data.tag_item->get_title(), this, search_bar.get());
rooms_page->matrix_delegate = matrix_delegate;