You could check the result of getTab before calling anything on it.
Qt Code:
readonly property Tab currentTab: getTab(currentIndex) height: currentTab ? currentTab.childrenRect.height : 0To copy to clipboard, switch view to plain text mode
Cheers,
_





Reply With Quote
Bookmarks