FEM Post: Fix crash on gui dialog only
This commit is contained in:
parent
acf3d67390
commit
afdc3da1af
|
@ -126,7 +126,8 @@ bool TaskDlgPost::reject()
|
|||
|
||||
void TaskDlgPost::modifyStandardButtons(QDialogButtonBox* box) {
|
||||
|
||||
box->button(QDialogButtonBox::Apply)->setDefault(true);
|
||||
if(box->button(QDialogButtonBox::Apply))
|
||||
box->button(QDialogButtonBox::Apply)->setDefault(true);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user