|author||Andreas Aardal Hanssen <email@example.com>||2012-12-11 21:04:12 +0100|
|committer||The Qt Project <firstname.lastname@example.org>||2012-12-17 19:37:34 +0100|
Deactivating an inactive panel no longer causes unwanted deactivation.
QGraphicsItem::setActive() is by design not guarded against calls that do not change the current activation state of the item (e.g., calling setActive(true) on an active item or calling setActive(false) on an inactive item). This is to ensure that it's possible to set explicit activation state on items, either before they are added to a scene, or while the scene itself is inactive. Before this fix, calling setActive(false) on a panel item that is not currently active would by accident clear activation from any other panel that might have focus. After this fix, activation is only cleared if the item setActive() was called on itself is the active panel, or is the panel that will regain activation once the scene is reactivated. Task-number: QTBUG-28544 Change-Id: Ic4752f1e4400f9a0660bc968834747610212bb52 Reviewed-by: Bjørn Erik Nilsen <email@example.com> Reviewed-by: Andreas Aardal Hanssen <firstname.lastname@example.org> Reviewed-by: Yoann Lopes <email@example.com>
Diffstat (limited to 'src/plugins/accessible')
0 files changed, 0 insertions, 0 deletions