Skip to content

Commit

Permalink
[ui] NodeEditor: Added refresh function to update the currentIndex of…
Browse files Browse the repository at this point in the history
… the tabBar
  • Loading branch information
waaake committed Dec 31, 2024
1 parent 535f2f0 commit a2f4ac5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions meshroom/ui/qml/GraphEditor/NodeEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2f4ac5

Please sign in to comment.