https://bugs.kde.org/show_bug.cgi?id=420014
Tymond <tamtamy.tym...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/kde/ | |krita/commit/243a413778e54d | |e14225172e55bf81b28047fdc8 Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Tymond <tamtamy.tym...@gmail.com> --- Git commit 243a413778e54de14225172e55bf81b28047fdc8 by Agata Cacko. Committed on 13/05/2020 at 15:34. Pushed by tymond into branch 'master'. 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. 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/243a413778e54de14225172e55bf81b28047fdc8 -- You are receiving this mail because: You are watching all bug changes.