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 committed 2020-01-13 15:29:02 -05:00
1 parent 460732097c
commit 9da07f2f66
1 file changed
+1 -1
+1 -1
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;
}