FEM: inp file settings, fixies fixes #3314i wrong pref on restore

This commit is contained in:
Bernd Hahnebach
2018-01-25 07:17:08 +01:00
committed by Yorik van Havre
parent 6d744c8c85
commit 2d1ffaa6ab

View File

@@ -59,12 +59,13 @@ void DlgSettingsFemExportAbaqusImp::saveSettings()
void DlgSettingsFemExportAbaqusImp::loadSettings()
{
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/Mod/Fem/Abaqus");
hGrp->SetInt("AbaqusElementChoice", ui->comboBoxElemChoiceParam->currentIndex());
ui->comboBoxElemChoiceParam->onRestore();
ui->checkBoxWriteGroups->onRestore();
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/Mod/Fem/Abaqus");
int index = hGrp->GetInt("AbaqusElementChoice", 0);
if (index > -1) ui->comboBoxElemChoiceParam->setCurrentIndex(index);
}
/**