diff --git a/src/dialogxml/dialogs/dialog.cpp b/src/dialogxml/dialogs/dialog.cpp index 2a82d324..892b1e5a 100644 --- a/src/dialogxml/dialogs/dialog.cpp +++ b/src/dialogxml/dialogs/dialog.cpp @@ -558,7 +558,9 @@ void cDialog::handle_events() { cTextField& text_field = dynamic_cast(getControl(currentFocus)); text_field.replay_selection(pop_next_action()); }else{ - while(win.pollEvent(currentEvent)) handle_one_event(currentEvent, fps_limiter); + while(win.pollEvent(currentEvent)){ + handle_one_event(currentEvent, fps_limiter); + } } // Ideally, this should be the only draw call that is done in a cycle.