Skip to content
Commit df76bd6c authored by Amy spark's avatar Amy spark 👉
Browse files

Implement Reference Tool selection detection

While commit 6e8224c5 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.

BUG: 454515

CCMAIL: shzam@sdf.org
parent 1efcf547
Loading
Loading
Loading
Pipeline #196225 passed with stage
in 48 minutes and 50 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment