Commit 7e9356ca authored by Karsten Rink's avatar Karsten Rink

fixed issue where initital conditions could not be assigned single value

parent ed245269
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment