Don't mark cmd:// urls as invalid

* Due to the complexity of cmd:// type url's, avoid trying to parse them for validity once the initial scheme is entered.

* Fixes #4138
This commit is contained in:
Jonathan White 2020-01-12 19:31:53 -05:00
parent 460732097c
commit 9da07f2f66

View File

@ -262,7 +262,7 @@ namespace Tools
bool checkUrlValid(const QString& urlField)
{
if (urlField.isEmpty()) {
if (urlField.isEmpty() || urlField.startsWith("cmd://", Qt::CaseInsensitive)) {
return true;
}