Products linked with rests
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
RestsViewModel::RestsViewModel(QObject *parent)
|
||||
: QObject{parent}
|
||||
{
|
||||
connect(m_restsModel, &BaseModel::dataChanged, this, &RestsViewModel::productsChanged);
|
||||
connect(m_productsModel, &BaseModel::dataChanged, this, &RestsViewModel::productsChanged);
|
||||
connect(settings(), &SettingsService::selectedStoreIdChanged, this, &RestsViewModel::productsChanged);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user