From 95eb6b54f2a7d32e76e955696bb130c8c3124b3b Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Sat, 15 Mar 2025 17:12:29 +0100 Subject: [PATCH] Sort selected sellers --- src/gui/reportdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/reportdialog.cpp b/src/gui/reportdialog.cpp index 6edc590..2c13baf 100644 --- a/src/gui/reportdialog.cpp +++ b/src/gui/reportdialog.cpp @@ -201,6 +201,7 @@ void ReportDialog::onPrintSellerReceiptButtonClicked() return; auto indexes = selModel->selectedRows(); + std::ranges::sort(indexes); auto printerDevice = convertToPosPrinterDevice(posPrinterDevice.toStdString(), posPrinterEndpoint.toStdString());