Commit 3a8bb527 authored by Guillaume Seguin's avatar Guillaume Seguin

Remove unappropriate webInterface close in pronterface_widgets

parent f35ce9cf
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment