此合并请求的源项目已被删除。
Fix Reference Image Tool menu
This MR renames the Reference Image Tool menu to "Reference Image Actions" instead of Vector shape. It also reimplements the Cut, Copy and Paste in Reference image tool which now performs cut and copy on layers .
There is bug in KisCutCopyActionFactory (haveShapesSelected) which does not invoke KoToolProxy Cut and Copy and ideally it should be invoked by them only . As a workaround i created seprate actions for reference image tool.
Bug::430070
Test Plan
Activate Reference Image Tool and some reference images . Enable Menu by right click and use Cut, Copy and Paste options
Formalities Checklist
-
I confirmed this builds. -
I confirmed Krita ran and the relevant functions work. -
I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!) -
I made sure my commits build individually and have good descriptions as per KDE guidelines. -
I made sure my code conforms to the standards set in the HACKING file. -
I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by Ghost User