reconnect selection model
This commit is contained in:
parent
0a22faf856
commit
68591c415e
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ void MainWindow::onActionEditSellerTriggered()
|
|||
ui_.salesView->resizeColumnToContents(0);
|
||||
connect(static_cast<BasketModel*>(ui_.basketView->model()), &BasketModel::basketDataChanged,
|
||||
static_cast<SaleModel*>(ui_.salesView->model()), &SaleModel::onBasketDataChanged);
|
||||
connect(ui_.salesView->selectionModel(), &QItemSelectionModel::selectionChanged, this,
|
||||
&MainWindow::onSalesViewSelectionChanged);
|
||||
}
|
||||
|
||||
void MainWindow::onPaidButtonTriggered()
|
||||
|
|
Loading…
Reference in a new issue