Fix: Update PartDesign Boolean dropdown immediately before recomputation
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
#include <QMessageBox>
|
||||
|
||||
|
||||
@@ -259,6 +260,9 @@ void TaskBooleanParameters::onTypeChanged(int index)
|
||||
pcBoolean->Type.setValue("Fuse");
|
||||
}
|
||||
|
||||
// Force UI update before starting heavy computation to show user's selection immediately
|
||||
QApplication::processEvents();
|
||||
|
||||
pcBoolean->getDocument()->recomputeFeature(pcBoolean);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user