Remove unappropriate webInterface close in pronterface_widgets

master
Guillaume Seguin 2012-09-05 13:06:55 +02:00
parent f35ce9cffb
commit 3a8bb5277c
1 changed files with 2 additions and 2 deletions

View File

@ -90,10 +90,10 @@ class macroed(wx.Dialog):
self.callback(self.reindent(self.e.GetValue()))
else:
self.callback(self.e.GetValue().split("\n"))
def close(self, ev):
self.Destroy()
if self.webInterface:
webinterface.KillWebInterfaceThread()
def unindent(self, text):
self.indent_chars = text[:len(text)-len(text.lstrip())]
if len(self.indent_chars) == 0: