--- a/editors/Viewer.py Wed Jun 12 11:01:27 2013 +0200
+++ b/editors/Viewer.py Wed Jun 12 11:32:44 2013 +0200
@@ -2392,9 +2392,9 @@
dialog.Destroy()
def AddNewDivergence(self, bbox):
- dialog = SFCDivergenceDialog(self.ParentWindow, self.Controler)
+ dialog = SFCDivergenceDialog(self.ParentWindow, self.Controler, self.TagName)
dialog.SetPreviewFont(self.GetFont())
- dialog.SetMinSize((bbox.width, bbox.height))
+ dialog.SetMinElementSize((bbox.width, bbox.height))
if dialog.ShowModal() == wx.ID_OK:
id = self.GetNewId()
values = dialog.GetValues()