https://bugs.kde.org/show_bug.cgi?id=420014
Boudewijn Rempt <b...@valdyas.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/ |krita/commit/243a413778e54d |krita/commit/5a8e0e241aa6c9 |e14225172e55bf81b28047fdc8 |aa888cd0f60c715833ac8f9195 --- Comment #3 from Boudewijn Rempt <b...@valdyas.org> --- Git commit 5a8e0e241aa6c9aa888cd0f60c715833ac8f9195 by Boudewijn Rempt, on behalf of Agata Cacko. Committed on 14/05/2020 at 07:26. Pushed by rempt into branch 'krita/4.3'. Fix Histogram updates after opening a flat file Before this commit, histogram would not update if you open a file with a single layer and operate only on layers other than the original one. It was because the histogram widget would save the paint device of the projection when the view was created. Projection paint device can change in various cases: for example in this one, the paint device for the projection was the reused projection of the first layer. When creating a new layer, there was a new paint device created for the projection, so the paint device This commit fixes it by always adding the canvas as a parameter when updating the histogram. (cherry picked from commit 243a413778e54de14225172e55bf81b28047fdc8) M +1 -3 plugins/dockers/histogram/histogramdocker_dock.cpp M +12 -18 plugins/dockers/histogram/histogramdockerwidget.cpp M +11 -4 plugins/dockers/histogram/histogramdockerwidget.h https://invent.kde.org/kde/krita/commit/5a8e0e241aa6c9aa888cd0f60c715833ac8f9195 -- You are receiving this mail because: You are watching all bug changes.