Gui: [skip ci] correctly set size when selection resolution of 10000 x 10000
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user