]> cloud.milkyroute.net Git - dolphin.git/commit
Fix keyboard focus handling after renaming items inline
authorFrank Reininghaus <frank78ac@googlemail.com>
Fri, 7 Dec 2012 21:15:32 +0000 (22:15 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Fri, 7 Dec 2012 21:15:32 +0000 (22:15 +0100)
commite97c050157890dd1adf14d98bbed4aa86af98354
tree9cc9009b03c99c82ab8bf4b82b9345815983c691
parenta1353a9d48bc8a45516f7d9323c5a9f99194b310
Fix keyboard focus handling after renaming items inline

This reverts 951cb9c35d7a9ef814b3de5b359915968da9b881 and
3143acc084d54d43df469b54762bfa10a7050a9f, and fixes the crash caused by
nested event loops by delaying the deletion of the KItemListRoleEditor
until the next item is renamed inline.

BUG: 311206
FIXED-IN: 4.9.5
REVIEW: 107606
src/kitemviews/kstandarditemlistwidget.cpp
src/kitemviews/kstandarditemlistwidget.h
src/kitemviews/private/kitemlistroleeditor.cpp
src/kitemviews/private/kitemlistroleeditor.h