Fix saving images
Fixed variable names and scope resolution for saveAsDialog in NeochatMaximizeComponent Hence, correcting the File Dialog type and making the downloadFile function work. BUG: 479053
This commit is contained in:
@@ -105,7 +105,7 @@ Components.AlbumMaximizeComponent {
|
||||
Component {
|
||||
id: saveAsDialog
|
||||
Platform.FileDialog {
|
||||
fileMode: FileDialog.SaveFile
|
||||
fileMode: Platform.FileDialog.SaveFile
|
||||
folder: root.saveFolder
|
||||
onAccepted: {
|
||||
Config.lastSaveDirectory = folder
|
||||
@@ -113,7 +113,7 @@ Components.AlbumMaximizeComponent {
|
||||
if (!currentFile) {
|
||||
return;
|
||||
}
|
||||
currentRoom.downloadFile(rooteventId, currentFile)
|
||||
currentRoom.downloadFile(root.currentEventId, currentFile)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user