Fix widget detection logic

Authored by tbaumgart on Jan 31 2018, 8:36 AM.

Description

Fix widget detection logic

The transaction editor event filter that detects mouse clicks on widgets
that do not belong to the editor was called by objects that are no
widgets. This caused the filter to trigger which resulted in the dialog
box about leaving the editor popping up even though the actual click was
on an edit widget (e.g. category).

This patch prevents the check for non-widget objects and resolves the
issue.

Details

Committed
tbaumgartJan 31 2018, 8:36 AM
Parents
R261:e5611932b484: add missing XML end tags
Branches
Unknown
Tags
Unknown