equal
deleted
inserted
replaced
219 self.ResetBuffer() |
219 self.ResetBuffer() |
220 event.SetDragText(values[0]) |
220 event.SetDragText(values[0]) |
221 wx.CallAfter(self.RefreshModel) |
221 wx.CallAfter(self.RefreshModel) |
222 else: |
222 else: |
223 event.SetDragText("") |
223 event.SetDragText("") |
224 message = wx.MessageDialog(self.ParentWindow, "Variable don't belong to this POU!", "Error", wx.OK|wx.ICON_ERROR) |
224 message = wx.MessageDialog(self.ParentWindow, _("Variable don't belong to this POU!"), _("Error"), wx.OK|wx.ICON_ERROR) |
225 message.ShowModal() |
225 message.ShowModal() |
226 message.Destroy() |
226 message.Destroy() |
227 event.Skip() |
227 event.Skip() |
228 |
228 |
229 def SetTextSyntax(self, syntax): |
229 def SetTextSyntax(self, syntax): |