diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/QuickMedia.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index f36d9fb..e18aa9a 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -2768,7 +2768,8 @@ namespace QuickMedia { } event_idle_handler(event); - comment_input.process_event(event); + if(!frame_skip_text_entry) + comment_input.process_event(event); if(navigation_stage == NavigationStage::REPLYING && !frame_skip_text_entry) { // To prevent pressing enter in comment_input text submit from also immediately sending captcha solution.. is there no better solution? if(event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Enter) @@ -4325,7 +4326,8 @@ namespace QuickMedia { base_event_handler(event, PageType::EXIT, tabs[selected_tab].body.get(), nullptr, false, false); event_idle_handler(event); - chat_input.process_event(event); + if(!frame_skip_text_entry) + chat_input.process_event(event); if(draw_room_list) { if(room_tabs[room_selected_tab].body->on_event(window, event)) |