mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[ui] init saveAs folder
if we already have a project file
This commit is contained in:
parent
6b68079b56
commit
ecc8cd4332
1 changed files with 6 additions and 1 deletions
|
@ -411,7 +411,12 @@ ApplicationWindow {
|
|||
id: saveAsAction
|
||||
text: "Save As..."
|
||||
shortcut: "Ctrl+Shift+S"
|
||||
onTriggered: saveFileDialog.open()
|
||||
onTriggered: {
|
||||
if(_reconstruction.graph && _reconstruction.graph.filepath) {
|
||||
saveFileDialog.folder = Filepath.stringToUrl(Filepath.dirname(_reconstruction.graph.filepath))
|
||||
}
|
||||
saveFileDialog.open()
|
||||
}
|
||||
}
|
||||
MenuSeparator { }
|
||||
Action {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue