Commit 1d44ebdc authored by Luke Macken's avatar Luke Macken

Clear out our stacks buffer when we switch processes

parent 07643887
......@@ -404,6 +404,7 @@ class PyrasiteWindow(Gtk.Window):
code = proc.cmd(file(dump_stacks).read())
self.update_progress(0.6)
self.source_buffer.set_text('')
start = self.source_buffer.get_iter_at_offset(0)
end = start.copy()
self.source_buffer.insert(end, code)
......
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