diff --git a/src/QmlControls/QGCFileDialog.qml b/src/QmlControls/QGCFileDialog.qml index 21932d7c07d4a47d46d086be53d26c2c139cf98e..aba634bb40163ad955b6a0d1a8f44da84460f276 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() {