refs #618, removed MenuHighlightInvalid menu flag

This commit is contained in:
Klaus Basan
2016-03-27 11:39:41 +02:00
parent ad1ac36189
commit 5c1ce9763e
3 changed files with 1 additions and 9 deletions

View File

@@ -280,13 +280,6 @@ namespace BlackGui
a->setCheckable(true);
a->setChecked(this->derivedModel()->highlightModelStrings());
}
if (this->m_menus.testFlag(MenuHighlightInvalid))
{
// this function requires that someone provides the model strings to be highlighted
QAction *a = stashMenu->addAction(CIcons::appDbStash16(), "Highlight invalid models (on/off)", this, &CAircraftModelView::ps_toggleHighlightDbData);
a->setCheckable(true);
a->setChecked(this->derivedModel()->highlightDbData());
}
if (stashMenu->isEmpty())
{
stashMenu->deleteLater();