SalesView: Resize columns to content

This commit is contained in:
Martin Brodbeck 2019-02-25 08:27:51 +01:00
parent f32f0afd6a
commit 65f5da45ec

View file

@ -42,6 +42,7 @@ MainWindow::MainWindow()
setWindowTitle("KIMA2 - Kasse Nr. " + QSettings().value("global/cashPointNo").toString());
ui_.salesView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
setSaleModel();
connect(ui_.actionQuit, &QAction::triggered, qApp, QApplication::quit);