diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-12-02 02:23:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-12-02 02:23:25 +0100 |
commit | 55287c0f48db741f93f1be122c6eb12e48ba995c (patch) | |
tree | 76a8e10af5f5c29cfe87edb54cbcb2a78c06b3ff /src | |
parent | aa0e265a53ce0a9e292f2aad6f9d49ad37236841 (diff) |
4chan: fix back navigation not showing correct items in tree
Diffstat (limited to 'src')
-rw-r--r-- | src/QuickMedia.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 0475964..81b9296 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -4915,6 +4915,7 @@ namespace QuickMedia { thread_body->set_selected_item(previous_selected); selected_item = thread_body->get_item_by_index(comment_navigation_stack.back()).get(); selected_item->visible = true; + image_board_post_data = static_cast<ImageBoardBodyItemData*>(selected_item->extra.get()); for(size_t reply_to_index : image_board_post_data->replies_to) { thread_body->get_item_by_index(reply_to_index)->visible = true; } |