void () { if (isStateBeingRestored()) return; if (myOriginal != null) { myOriginal.saveUiState(); return; } if (!myUiLastStateWasRestored) return; int offset = updateTabsIndices(myTabs, 0); for (RunnerContentUi child : myChildren) { offset = updateTabsIndices(child.myTabs, offset); } doSaveUiState(); }