[ui] NodeEditor: Added refresh function to update the currentIndex of the tabBar

This commit is contained in:
waaake 2024-12-31 09:43:27 +05:30
parent 535f2f06b3
commit a2f4ac560f

View file

@ -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