Compare commits
2 commits
30c34f4674
...
4a2a4f92b4
Author | SHA1 | Date | |
---|---|---|---|
4a2a4f92b4 | |||
95eb6b54f2 |
2 changed files with 2 additions and 1 deletions
|
@ -201,6 +201,7 @@ void ReportDialog::onPrintSellerReceiptButtonClicked()
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto indexes = selModel->selectedRows();
|
auto indexes = selModel->selectedRows();
|
||||||
|
std::ranges::sort(indexes);
|
||||||
|
|
||||||
auto printerDevice =
|
auto printerDevice =
|
||||||
convertToPosPrinterDevice(posPrinterDevice.toStdString(), posPrinterEndpoint.toStdString());
|
convertToPosPrinterDevice(posPrinterDevice.toStdString(), posPrinterEndpoint.toStdString());
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTableView" name="reportView">
|
<widget class="QTableView" name="reportView">
|
||||||
<property name="selectionMode">
|
<property name="selectionMode">
|
||||||
<enum>QAbstractItemView::MultiSelection</enum>
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="selectionBehavior">
|
<property name="selectionBehavior">
|
||||||
<enum>QAbstractItemView::SelectRows</enum>
|
<enum>QAbstractItemView::SelectRows</enum>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue