From a55b6f421b54576c5d508f53ee7378717da33be5 Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Sun, 6 Aug 2017 10:51:44 +0200 Subject: [PATCH] Fix QgsFileWidget remember the folder functionality --- src/gui/qgsfilewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qgsfilewidget.cpp b/src/gui/qgsfilewidget.cpp index 3ba24eda4117..ed1464cabe4e 100644 --- a/src/gui/qgsfilewidget.cpp +++ b/src/gui/qgsfilewidget.cpp @@ -209,7 +209,7 @@ void QgsFileWidget::openFileDialog() { defPath = QDir::homePath(); } - oldPath = settings.value( QStringLiteral( "UI/lastExternalResourceWidgetDefaultPath" ), defPath ).toString(); + oldPath = settings.value( QStringLiteral( "UI/lastFileNameWidgetDir" ), defPath ).toString(); } // Handle Storage