hide "Sonderkonto"
This commit is contained in:
parent
50ec5b3015
commit
410eb775aa
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ SellerDialog::SellerDialog(QWidget* parent, Qt::WindowFlags f) : QDialog(parent,
|
||||||
model_ = std::make_unique<SellerModel>(market_, ui_.tableView);
|
model_ = std::make_unique<SellerModel>(market_, ui_.tableView);
|
||||||
ui_.tableView->setModel(model_.get());
|
ui_.tableView->setModel(model_.get());
|
||||||
ui_.tableView->setColumnHidden(0, true); // hide the uuid
|
ui_.tableView->setColumnHidden(0, true); // hide the uuid
|
||||||
|
ui_.tableView->setRowHidden(0, true); // hide the special "Sonderkonto" user
|
||||||
connect(ui_.newButton, &QPushButton::clicked, this, &SellerDialog::on_newButton_clicked);
|
connect(ui_.newButton, &QPushButton::clicked, this, &SellerDialog::on_newButton_clicked);
|
||||||
connect(ui_.deleteButton, &QPushButton::clicked, this, &SellerDialog::on_deleteButton_clicked);
|
connect(ui_.deleteButton, &QPushButton::clicked, this, &SellerDialog::on_deleteButton_clicked);
|
||||||
connect(model_.get(), &SellerModel::duplicateSellerNo, this,
|
connect(model_.get(), &SellerModel::duplicateSellerNo, this,
|
||||||
|
|
Loading…
Reference in a new issue