mirror of
https://github.com/leozide/leocad
synced 2024-12-25 21:58:23 +01:00
Control both part name and description being unchecked
This commit is contained in:
parent
6e24771b53
commit
0b128f34d9
1 changed files with 2 additions and 0 deletions
|
@ -1121,10 +1121,12 @@ void lcPartSelectionWidget::OptionsMenuAboutToShow()
|
|||
QAction* FileNameFilter = Menu->addAction(tr("Part Name"), mPartsWidget, SLOT(ToggleFileNameFilter()));
|
||||
FileNameFilter->setCheckable(true);
|
||||
FileNameFilter->setChecked(ListModel->GetFileNameFilter());
|
||||
FileNameFilter->setEnabled(ListModel->GetPartDescriptionFilter());
|
||||
|
||||
QAction* PartDescriptionFilter = Menu->addAction(tr("Part Description"), mPartsWidget, SLOT(TogglePartDescriptionFilter()));
|
||||
PartDescriptionFilter->setCheckable(true);
|
||||
PartDescriptionFilter->setChecked(ListModel->GetPartDescriptionFilter());
|
||||
PartDescriptionFilter->setEnabled(ListModel->GetFileNameFilter());
|
||||
}
|
||||
|
||||
void lcPartSelectionWidget::EditPartPalettes()
|
||||
|
|
Loading…
Reference in a new issue