qt5base-lts/tests/auto/widgets/itemviews/qtreeview
Andy Shaw 7e60858cbc Don't edit the item if we did not get the press event on the same item
With a QTreeView it is possible that collapsing an item can cause the
item under the mouse to be a new one and over the checkbox area for the
new item. As a result, a release can cause it to change the check state
even though it did not get the press for that item. This ensures that
it only allows the edit if it got the press as well.

Fixes: QTBUG-61476
Change-Id: I9a0821466afc84c97c9819755ccbacd729f7fbd7
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
2019-02-26 14:18:18 +00:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qtreeview.pro testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
tst_qtreeview.cpp Don't edit the item if we did not get the press event on the same item 2019-02-26 14:18:18 +00:00