FEM Post: Fix crash on gui dialog only

This commit is contained in:
Stefan Tröger 2015-11-15 14:51:40 +01:00 committed by wmayer
parent acf3d67390
commit afdc3da1af

View File

@ -126,6 +126,7 @@ bool TaskDlgPost::reject()
void TaskDlgPost::modifyStandardButtons(QDialogButtonBox* box) {
if(box->button(QDialogButtonBox::Apply))
box->button(QDialogButtonBox::Apply)->setDefault(true);
}