Skip to content

Commit 3b080e5

Browse files
committed
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.
1 parent d0757c5 commit 3b080e5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎gui/applicationdialog.cpp‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ void ApplicationDialog::Ok()
116116
}
117117
else
118118
{
119-
accept();
119+
// Convert possible native (Windows) path to internal presentation format
120+
mPath->setText(QDir::fromNativeSeparators(mPath->text()));
121+
accept();
120122
}
121123
}
122124

0 commit comments

Comments
 (0)