- Fix ViaStitching to follow change in python API

- Adding the circular zone tools
This commit is contained in:
Jean-Samuel Reynaud
2017-06-26 11:50:45 +02:00
parent 31626d6dcd
commit 35f89092d2
11 changed files with 993 additions and 4 deletions

View File

@ -22,13 +22,13 @@ import FillArea
import wx
import FillAreaDialog
class FillAreaDialogEx(FillAreaDialog.FillAreaDialog):
def onDeleteClick( self, event ):
def onDeleteClick(self, event):
return self.EndModal(wx.ID_DELETE)
class FillAreaAction(pcbnew.ActionPlugin):
def defaults(self):
@ -62,7 +62,7 @@ class FillAreaAction(pcbnew.ActionPlugin):
fill.Run()
except Exception:
wx.MessageDialog(None, "Invalid parameter")
if modal_result == wx.ID_DELETE:
elif modal_result == wx.ID_DELETE:
try:
fill = FillArea.FillArea()
if a.m_Debug.IsChecked():