@@ -80,7 +80,7 @@ TimelineContainer {
|
|||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: downloadButton
|
target: downloadButton
|
||||||
|
|
||||||
onClicked: root.saveFileAs()
|
onClicked: fileDelegate.saveFileAs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -72,12 +72,6 @@ TimelineContainer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function saveFileAs() {
|
|
||||||
var dialog = fileDialog.createObject(ApplicationWindow.overlay)
|
|
||||||
dialog.open()
|
|
||||||
dialog.currentFile = dialog.folder + "/" + currentRoom.fileNameToDownload(eventId)
|
|
||||||
}
|
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: fileDialog
|
id: fileDialog
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ QQC2.ItemDelegate {
|
|||||||
|
|
||||||
property bool showUserMessageOnRight: Config.showLocalMessagesOnRight && model.author.isLocalUser && !applicationWindow().wideScreen
|
property bool showUserMessageOnRight: Config.showLocalMessagesOnRight && model.author.isLocalUser && !applicationWindow().wideScreen
|
||||||
|
|
||||||
signal saveFileAs()
|
|
||||||
signal openExternally()
|
signal openExternally()
|
||||||
signal replyClicked(string eventID)
|
signal replyClicked(string eventID)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user