Diffusion Krita 89727e94b616

Fix hiding Tool Options widgets when a new window is created

Authored by dkazakov on Nov 18 2016, 10:40 AM.

Description

Fix hiding Tool Options widgets when a new window is created

The problem is:

  1. All the main windows are connected to KoToolManager::toolOptionWidgetsChanged() signal.
  2. But different main windows do not share the tools.
  3. Therefore the main windows should check if the signal was emitted by its own tool.

BUG:372110
Fixes T4264

Details

Committed
dkazakovNov 18 2016, 10:41 AM
Parents
R37:3f4f856e0072: Fix memory leak
Branches
Unknown
Tags
Unknown
Tasks
T4264: Tool option docker is removed when opening a second view