mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Fix schedule time selection.
This commit is contained in:
parent
7be1c4ca2f
commit
16b786186b
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ private:
|
|||
|
||||
QTime ValidateTime(const QString &value) {
|
||||
const auto match = QRegularExpression(
|
||||
"^(\\d\\d)\\:(\\d\\d)$").match(value);
|
||||
"^(\\d{1,2})\\:(\\d\\d)$").match(value);
|
||||
if (!match.hasMatch()) {
|
||||
return QTime();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue