Chris7 / Mudlet2

Mudlet vesion 2.+
GNU General Public License v2.0
3 stars 2 forks source link

improved saved vars tooltip to only show up on items that can actually b... #11

Closed vadi2 closed 11 years ago

vadi2 commented 11 years ago

...e saved

Chris7 commented 11 years ago

Tables can be saved, but I'll remove the tooltips on the things I don't have the checkboxes for.

Chris7 commented 11 years ago

I actually just realized the table icon for some reason is actually blocking the checkbox. Try it out, click a few times on the table and it'll check the items below it. I'll figure out how to fix that.

vadi2 commented 11 years ago

Oh alright.

Chris7 commented 11 years ago

I take that back. Disabling icons and it still doesn't appear for some tables. I honestly have no idea, as the debug says it is checkable.

vadi2 commented 11 years ago

Check with GammaRay? I'm on my mobile atm.

Chris7 commented 11 years ago

Setting its check state to unchecked initially fixes this. What a PITA.

Chris7 commented 11 years ago

Actually, the problem was that how QTreeWidgetItems are designed. If a sub-entry has its checkbox disabled, since it's a tri-state, the parent gets it disabled too.