QTableWidget's currentCellWasChanged called twice
Unsolved
General and Desktop
-
I have a QTableWidget which has 1 column and 100 rows.
When I click on the 1st row, my app's slot that I've connected to currentCellWasChanged gets called twice, once for row 0 and once for row 1.
What could cause this type of bug?
These 2 calls happen when I click down, not when I release the mouse button.Update:
This bug occurs when I'm trying to control whether the QTableWidget is hidden i.e. I want the user to be able to click on an entry, and then I set the QTableWidget to hidden so that I can show something else. -
Hi,
Which version of Qt ?
On which OS ?
Can you provide a minimal compilable example that reproduces that behaviour ?Did you check the old and current values ?
How do you implement your widget hiding ?