Kaydet (Commit) ad24ae10 authored tarafından Guido van Rossum's avatar Guido van Rossum

Whoops -- referenced self.top before it was set.

üst 4eaadf00
......@@ -18,9 +18,9 @@ class StackViewer:
root = top = Tk()
else:
top = Toplevel(root)
self.top.protocol("WM_DELETE_WINDOW", self.close)
self.root = root
self.top = top
self.top.protocol("WM_DELETE_WINDOW", self.close)
top.wm_title("Stack viewer")
# Create help label
self.helplabel = Label(top,
......
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