Commit d6d2b196 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/modules/Linphone/Notifications/NotificationReceivedFileMessage): open folder if no handler

parent 94ebade4
...@@ -71,7 +71,10 @@ Notification { ...@@ -71,7 +71,10 @@ Notification {
hoverEnabled: true hoverEnabled: true
onClicked: notification._close(function () { onClicked: notification._close(function () {
Qt.openUrlExternally(Utils.getUriFromSystemPath(notification._fileUri)) var uri = Utils.getUriFromSystemPath(notification._fileUri)
if (!Qt.openUrlExternally(uri)) {
Qt.openUrlExternally(Utils.dirname(uri))
}
}) })
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment