Diffusion Krita 7760309b39fa

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
scottpetrovicNov 19 2016, 3:23 PM
Parents
R37:9c933ec259ef: Fix memory leak
Branches
Unknown
Tags
Unknown
Tasks
T4264: Tool option docker is removed when opening a second view