mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 08:18:25 +02:00
[ui] GraphEditor: trigger fit on project opening
* fit when the underlying graph has changed (new/open project) * add 'F' shortcut to fit * trigger fit after UI has been fully initialized (correct sizes)
This commit is contained in:
parent
53be806019
commit
c3464fa4e8
2 changed files with 18 additions and 0 deletions
|
@ -322,6 +322,8 @@ ApplicationWindow {
|
|||
// open CompatibilityManager after file loading if any issue is detected
|
||||
if(compatibilityManager.issueCount)
|
||||
compatibilityManager.open()
|
||||
// trigger fit to visualize all nodes
|
||||
graphEditor.fit()
|
||||
}
|
||||
|
||||
onInfo: createDialog(dialogsFactory.info, arguments[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue