mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Ref T189, context menu "Clear highlighting" only if there are highlighted rows
* added customMenu in template * added hasHighlightedRows
This commit is contained in:
@@ -221,5 +221,9 @@ namespace BlackGui
|
||||
this->m_highlightStrings.clear();
|
||||
COrderableListModelDbObjects::clearHighlighting();
|
||||
}
|
||||
bool CAircraftModelListModel::hasHighlightedRows() const
|
||||
{
|
||||
return !m_highlightStrings.isEmpty();
|
||||
}
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user