Skip to content

Commit d944df0

Browse files
Krrish777kadet1090
authored andcommitted
Fix: Update PartDesign Boolean dropdown immediately before recomputation
1 parent 07756cc commit d944df0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Mod/PartDesign/Gui/TaskBooleanParameters.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424

2525
#include <QAction>
26+
#include <QApplication>
2627
#include <QMessageBox>
2728

2829

@@ -259,6 +260,9 @@ void TaskBooleanParameters::onTypeChanged(int index)
259260
pcBoolean->Type.setValue("Fuse");
260261
}
261262

263+
// Force UI update before starting heavy computation to show user's selection immediately
264+
QApplication::processEvents();
265+
262266
pcBoolean->getDocument()->recomputeFeature(pcBoolean);
263267
}
264268

0 commit comments

Comments
 (0)