https://bugs.kde.org/show_bug.cgi?id=454515
amyspark <a...@amyspark.me> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/grap | |hics/krita/commit/df76bd6cc | |c5e3c450dcf81612e28f4598c39 | |7c73 --- Comment #5 from amyspark <a...@amyspark.me> --- Git commit df76bd6ccc5e3c450dcf81612e28f4598c397c73 by L. E. Segovia. Committed on 27/06/2022 at 21:18. Pushed by lsegovia into branch 'master'. Implement Reference Tool selection detection While commit 6e8224c52025fa1bf8508c3d4a2f98ecd4964019 implemented the correct logic, it is only valid if the current tool is the Reference Image tool. There's a method for just this purpose, KoToolBase::hasSelection(), but the existing flow stems from SelectionHandler::hasSelection, which operates only with shapes. So this commit implements the corresponding override and changes the check to query the current tool instead. CCMAIL: sh...@sdf.org M +5 -6 libs/ui/actions/kis_selection_action_factories.cpp M +6 -0 plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp M +2 -0 plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.h https://invent.kde.org/graphics/krita/commit/df76bd6ccc5e3c450dcf81612e28f4598c397c73 -- You are receiving this mail because: You are watching all bug changes.