[krita] [Bug 419207] Python Request - Access to Eraser and Krita Events

2020-03-26 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=419207 Boudewijn Rempt changed: What|Removed |Added CC||b...@valdyas.org --- Comment #2 from Boudewij

[krita] [Bug 419207] Python Request - Access to Eraser and Krita Events

2020-03-25 Thread keyth_qcfx2
https://bugs.kde.org/show_bug.cgi?id=419207 --- Comment #1 from keyth_qcfx2 --- oh it seems I can ask Krita if the Eraser mode is turned on by doing this: """ Application.action("KritaShape/KisToolBrush").trigger() kritaEraserAction = Application.action("erase_action") state = kritaEraserAction.