libroar/RoarCanvasCommandsEdit.py:canvasColourAlpha_(): fix signature.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2019-09-12 10:03:29 +02:00
parent ed966f7154
commit 48f24e3200

View File

@ -95,7 +95,7 @@ class RoarCanvasCommandsEdit():
# {{{ canvasColourAlpha(self, f, idx)
@GuiSelectDecorator(0, "Transparent colour", "Transparent colour", None, None, False)
def canvasColourAlpha(self, f, idx):
def canvasColourAlpha_(self, event):
def canvasColourAlpha_(event):
if event.GetEventType() == wx.wxEVT_TOOL:
self.parentCanvas.brushColours[0] = -1
elif event.GetEventType() == wx.wxEVT_TOOL_RCLICKED: