From b1be43eb7e4e7035e8ba032e05a8432824c6a719 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 2 Sep 2024 12:06:23 -0500 Subject: [PATCH] reformat a block for setting breakpoints --- src/dialogxml/dialogs/dialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.