Skip to content

Commit

Permalink
Fix GUI controls updatign when filter type is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Jul 2, 2017
1 parent 341bec7 commit 289b72d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qucs/qucs-filter/qucsfilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,10 @@ void QucsFilter::slotRealizationChanged(int index)
MicrostripcheckBox->setChecked(false);
box2->setEnabled(false);//Microstrip substrate definition panel
ComboClass->setEnabled(true);
EditOrder->setEnabled(true);
ComboType->setEnabled(true);//The other filters can implement canonical responses
LabelStart->setText(tr("Corner frequency:"));
LabelStop->setText(tr("Stop frequency:"));
return;
}

Expand Down Expand Up @@ -724,7 +728,7 @@ void QucsFilter::slotRealizationChanged(int index)
ComboType->setEnabled(false);//Conventional frequency responses not available
EditOrder->setEnabled(false);//Not possible to modify the order
LabelStart->setText("1st transmission zero frequency:");
LabelStop->setText("2nd transmission zero frequency::");
LabelStop->setText("2nd transmission zero frequency:");
}
else
{
Expand Down

0 comments on commit 289b72d

Please sign in to comment.