Skip to content
Snippets Groups Projects
Commit 7e9356ca authored by Karsten Rink's avatar Karsten Rink
Browse files

fixed issue where initital conditions could not be assigned single value

parent ed245269
No related branches found
No related tags found
No related merge requests found
......@@ -260,7 +260,7 @@ void FEMConditionSetupDialog::on_disTypeBox_currentIndexChanged(int index)
void FEMConditionSetupDialog::setValueInputWidget(bool is_button)
{
if (is_button || _cond.getGeomType() == GeoLib::GEOTYPE::INVALID) // linear or direct
if (is_button) // linear or direct
{
static_cast<QGridLayout*>(this->layout())->removeWidget(this->firstValueEdit);
delete firstValueEdit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment