diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-09-28 10:44:09 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-09-28 14:48:30 +0000 |
commit | a5026d7a2fc15494cbcf660a2dcd27a8b52a6af6 (patch) | |
tree | a82432864b72f4d7bec20e37218be39bf3f17aba /src/libs | |
parent | 84bbab1c97679aa42ed97a938d47fe6daaf123c7 (diff) |
Project Tree: Delay syncing with editor when using the context menu
When "Synchronize with Editor" is enabled, every focus change in the
application causes the current node in the project tree to be reset to
the one corresponding to the current document. In order to still be able
to use the context menu, there is a flag in the project tree suppressing
this behavior for as long as the context menu is open. However, some
actions offered by the context menu open an additional dialog, and it is
confusing to users if the current node changes at this point.
We therefore extend abovementioned hack so that the suppression of
automatic syncing is extended for the lifetime of the function called
from the context menu.
Fixes: QTCREATORBUG-24699
Change-Id: I209150aee76e534a966efc4d0afe5261d6dcd521
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/libs')
0 files changed, 0 insertions, 0 deletions