From 23d43ee06cde5524b67d67f877cd454e5a2085e8 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 18 Feb 2020 20:05:20 +0100 Subject: [PATCH] Gui: [skip ci] correctly set size when selection resolution of 10000 x 10000 --- src/Gui/DlgSettingsImageImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/DlgSettingsImageImp.cpp b/src/Gui/DlgSettingsImageImp.cpp index de975bf8e7..cc17e19e82 100644 --- a/src/Gui/DlgSettingsImageImp.cpp +++ b/src/Gui/DlgSettingsImageImp.cpp @@ -219,7 +219,7 @@ void DlgSettingsImageImp::on_standardSizeBox_activated(int index) else { // try to extract from the string QString text = ui->standardSizeBox->itemText(index); - QRegExp rx(QLatin1String("\\b\\d{2,4}\\b")); + QRegExp rx(QLatin1String("\\b\\d{2,5}\\b")); int pos = 0; pos = rx.indexIn(text, pos); QString w = text.mid(pos, rx.matchedLength());