From 7a992dd229aeb2d123191534986a3f0aad89218a Mon Sep 17 00:00:00 2001 From: DoinLakeFlyer Date: Tue, 7 Apr 2020 15:19:09 -0700 Subject: [PATCH] Fix incorrect call --- src/QmlControls/QGCFileDialog.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/QmlControls/QGCFileDialog.qml b/src/QmlControls/QGCFileDialog.qml index 21932d7c0..aba634bb4 100644 --- a/src/QmlControls/QGCFileDialog.qml +++ b/src/QmlControls/QGCFileDialog.qml @@ -38,7 +38,9 @@ Item { onFolderChanged: _updateMobileShortPath() function _updateMobileShortPath() { - _mobileShortPath = controller.fullFolderPathToShortMobilePath(folder); + if (ScreenTools.isMobile) { + _mobileShortPath = controller.fullFolderPathToShortMobilePath(folder); + } } function setupFileExtensions() { -- 2.22.0