PDA

View Full Version : takeTopLevelItem - removing last row from treeWidget & app crash



produktdotestow
9th February 2010, 15:57
hi.

i have some problem. why removing last row from treeWidget using takeTopLevelItem() make app crash? if i want to remove different items everything it's OK. problem occurs only in this case.

thanks in advance for help.

produktdotestow
9th February 2010, 16:12
nevermind, problem is solved. in another function I was trying to change label text to currently checked row from treeWidget, but treeWidget was empty. sorry for the problem ;)