mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
[ui] NodeEditor: Added refresh function to update the currentIndex of the tabBar
This commit is contained in:
parent
535f2f06b3
commit
a2f4ac560f
1 changed files with 8 additions and 0 deletions
|
@ -42,6 +42,14 @@ Panel {
|
|||
}
|
||||
}
|
||||
|
||||
function refresh() {
|
||||
/**
|
||||
* Refresh properties of the Node Editor.
|
||||
*/
|
||||
// Reset tab bar's current index
|
||||
tabBar.currentIndex = 0;
|
||||
}
|
||||
|
||||
headerBar: RowLayout {
|
||||
Label {
|
||||
id: computationInfo
|
||||
|
|
Loading…
Add table
Reference in a new issue