mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 09:47:20 +02:00
[ui] Application: fix save-as dialog not working properly (Qt6.7+)
Since Qt 6.7, type annotations are enforced at runtime. Typing the `sourceSaveDialog` as Dialog (or Platform.FileDialog) breaks the value received by the function and its behavior.
This commit is contained in:
parent
8ee7b50204
commit
cdb25e28df
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ Page {
|
|||
}
|
||||
}
|
||||
|
||||
function validateFilepathForSave(filepath: string, sourceSaveDialog: Dialog): bool {
|
||||
function validateFilepathForSave(filepath: string, sourceSaveDialog): bool {
|
||||
/**
|
||||
* Return true if `filepath` is valid for saving a file to disk.
|
||||
* Otherwise, show a warning dialog and returns false.
|
||||
|
|
Loading…
Add table
Reference in a new issue