Try to fix a focus for Application after closing of the "fix thought NetFab" ProgressBarDialog
This commit is contained in:
parent
a2b99db0df
commit
fb3ed367ad
@ -4123,8 +4123,7 @@ void ObjectList::fix_through_netfabb()
|
|||||||
Plater::TakeSnapshot snapshot(plater, _L("Fix through NetFabb"));
|
Plater::TakeSnapshot snapshot(plater, _L("Fix through NetFabb"));
|
||||||
|
|
||||||
// Open a progress dialog.
|
// Open a progress dialog.
|
||||||
wxProgressDialog progress_dlg(_L("Fixing through NetFabb"), "", 100,
|
wxProgressDialog progress_dlg(_L("Fixing through NetFabb"), "", 100, plater,
|
||||||
nullptr, // ! parent of the wxProgressDialog should be nullptr to avoid flickering during the model fixing
|
|
||||||
wxPD_AUTO_HIDE | wxPD_APP_MODAL | wxPD_CAN_ABORT);
|
wxPD_AUTO_HIDE | wxPD_APP_MODAL | wxPD_CAN_ABORT);
|
||||||
int model_idx{ 0 };
|
int model_idx{ 0 };
|
||||||
if (vol_idxs.empty()) {
|
if (vol_idxs.empty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user