mirror of
https://github.com/tromey/gdb-gui.git
synced 2025-08-25 12:00:07 +02:00
fix updatewindow _on_event implementation
This commit is contained in:
@@ -62,11 +62,7 @@ class UpdateWindow(Toplevel):
|
||||
|
||||
@in_gdb_thread
|
||||
def _on_event(self, *args):
|
||||
try:
|
||||
text = gdb.execute(self.command, to_string = True)
|
||||
except gdb.error as what:
|
||||
text = str(what)
|
||||
gui.startup.send_to_gtk(lambda: self._update(text))
|
||||
self.on_event()
|
||||
|
||||
@in_gtk_thread
|
||||
def deleted(self):
|
||||
|
Reference in New Issue
Block a user