mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 12:45:40 +08:00
Ref T529, allow to set mode in view/model
The version with the container allows to auto-detect if order is available
This commit is contained in:
committed by
Mat Sutcliffe
parent
b9bc0757c5
commit
32985c78da
@@ -33,6 +33,11 @@ namespace BlackGui
|
||||
this->derivedModel()->setMode(mode);
|
||||
}
|
||||
|
||||
void CStatusMessageView::setMode(CStatusMessageListModel::Mode mode, const CStatusMessageList &messages)
|
||||
{
|
||||
this->derivedModel()->setMode(mode, messages);
|
||||
}
|
||||
|
||||
void CStatusMessageView::addFilterDialog()
|
||||
{
|
||||
if (this->getFilterDialog()) { return; } // already existing
|
||||
|
||||
Reference in New Issue
Block a user