summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMrCdK <contact@mrcdk.com>2019-04-27 14:06:16 +0200
committerMrCdK <contact@mrcdk.com>2019-04-27 14:06:16 +0200
commit20e442a9f6baf9e660374f86f23d360e339b3595 (patch)
treefecf73c151b8a8ab85585efa81e4f1c5ed097b0e
parent2931b4db5145d17da46caee1ccf4322939751707 (diff)
Reverts the change made to the editor progress dialog in faaecd6987ba27056b1866bc57e78a7246795c22
It was causing issues on Windows like, for example, when saving with CTRL+S the keys CTRL and S were stuck after saving and pressing only S would save the scene again until CTRL was pressed again.
-rw-r--r--editor/progress_dialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/progress_dialog.cpp b/editor/progress_dialog.cpp
index 09203a70a0..8dac5fa6b5 100644
--- a/editor/progress_dialog.cpp
+++ b/editor/progress_dialog.cpp
@@ -220,9 +220,8 @@ bool ProgressDialog::task_step(const String &p_task, const String &p_state, int
last_progress_tick = OS::get_singleton()->get_ticks_usec();
if (cancel_hb->is_visible()) {
OS::get_singleton()->force_process_input();
- } else {
- OS::get_singleton()->process_and_drop_events();
}
+
Main::iteration(); // this will not work on a lot of platforms, so it's only meant for the editor
return cancelled;
}