https://bugs.kde.org/show_bug.cgi?id=419207

--- Comment #1 from keyth_qcfx2 <keyth2363...@gmail.com> ---
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.isChecked()
if state is False:  # Eraser is OFF
    kritaEraserAction.trigger()
"""

But that does raise the question are there more commands like this? and where
can I see them? I really just stumbled upon this on another person addon
because there is no where to be read about commands like this that I know of,
and I am actively searching for information everywhere.

However I fixed the Eraser but I made it worse with this command forcing a lock
on the brush tool and I dont know understand it... I just made a copy paste
because there is no acctual info.

Where can I find info about this sort of stuff?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to