From d93d0ab19e75e73c9e760ad55dac70a330b02641 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 9 Oct 2017 17:42:42 +0300 Subject: [PATCH] Show new paths in native form. --- src/gui/fspathedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/fspathedit.cpp b/src/gui/fspathedit.cpp index a9b4a6e59..1ccd086c0 100644 --- a/src/gui/fspathedit.cpp +++ b/src/gui/fspathedit.cpp @@ -127,7 +127,7 @@ void FileSystemPathEdit::FileSystemPathEditPrivate::browseActionTriggered() throw std::logic_error("Unknown FileSystemPathEdit mode"); } if (!selectedPath.isEmpty()) - q->setEditWidgetText(selectedPath); + q->setEditWidgetText(Utils::Fs::toNativePath(selectedPath)); } QString FileSystemPathEdit::FileSystemPathEditPrivate::dialogCaptionOrDefault() const