aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 6a7bc5f..112ec77 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -3080,7 +3080,7 @@ namespace QuickMedia {
while (current_page == PageType::IMAGE_BOARD_THREAD && window.isOpen()) {
while (window.pollEvent(event)) {
if(navigation_stage == NavigationStage::REPLYING || navigation_stage == NavigationStage::VIEWING_COMMENTS) {
- if(thread_body->on_event(window, event))
+ if(thread_body->on_event(window, event, navigation_stage == NavigationStage::VIEWING_COMMENTS))
idle_active_handler();
}
@@ -4784,7 +4784,7 @@ namespace QuickMedia {
if(url_selection_body.on_event(window, event))
idle_active_handler();
} else {
- if(tabs[selected_tab].body->on_event(window, event))
+ if(tabs[selected_tab].body->on_event(window, event, chat_state == ChatState::NAVIGATING))
idle_active_handler();
}