GUI: Convert native path to internal presentation.
If application path is edited by hand there can be native Windows path separators. Unify path separators to internal presentation before storing the path.
This commit is contained in:
parent
d0757c5797
commit
3b080e5b0b
|
@ -116,6 +116,8 @@ void ApplicationDialog::Ok()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Convert possible native (Windows) path to internal presentation format
|
||||||
|
mPath->setText(QDir::fromNativeSeparators(mPath->text()));
|
||||||
accept();
|
accept();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue