Request for what action dictionary entry would be for 'freehand selection tool'

Successfully added a couple of buttons to KanvasBuddy, but having problems about ‘freehand selection tool’ and ‘deselect’. Found the latter in action dictionary, but can’t find the freehand selection tool entry.

Posted here* with original question, but actually am just wanting to ask about the 3 short lines of code, the word used for the freehand selection tool, so I can try the entry in KanvasBuddy. Thanks.

*KanvasBuddy - a Minimalist Toolbar - #140 by fae

Try KritaShape/KisToolBrush as action name :slight_smile:

Grum999

1 Like

Thanks for responding. :slight_smile: I’d tried the following previously:

freehandSelection=1
(in panels/config.ini)

},
“freehandSelection”: {
“id”: “freehand_selection_tool”,
“icon”: “tool-outline-selection”,
“size”: []
(in the data.json panels section)

Not sure how to fit KritaShape/KisToolBrush into the config.ini and data.json.

I never really used the plugin, I suppose the id is identifier of action, then try:

"freehandSelection": {
"id": "KritaShape/KisToolBrush",
"icon": "krita_tool_freehand",
"size": []
}

Grum999

1 Like

Thanks, will give it a try. :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.