fixing save accepting .pres and no .pres extension in the name
This commit is contained in:
parent
37c7038f6f
commit
5e7fde14c6
2 changed files with 9 additions and 2 deletions
|
@ -122,7 +122,7 @@ Kirigami.ApplicationWindow {
|
|||
defaultSuffix: ".pres"
|
||||
selectExisting: false
|
||||
onAccepted: {
|
||||
save(saveFileDialog.fileUrl + ".pres");
|
||||
save(saveFileDialog.fileUrl);
|
||||
}
|
||||
onRejected: {
|
||||
print("Canceled")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue