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,7 +116,9 @@ void ApplicationDialog::Ok()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
accept();
|
// Convert possible native (Windows) path to internal presentation format
|
||||||
|
mPath->setText(QDir::fromNativeSeparators(mPath->text()));
|
||||||
|
accept();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue