app: "quit" doesn't make sense in android or web
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
6d88cd2ced
commit
c4767b5b56
1 changed files with 0 additions and 7 deletions
|
@ -26,15 +26,8 @@ class HelloWorld(toga.App):
|
|||
style=Pack(padding=5)
|
||||
)
|
||||
|
||||
quit_button = toga.Button(
|
||||
"Quit",
|
||||
on_press=self.quit,
|
||||
style=Pack(padding=5)
|
||||
)
|
||||
|
||||
main_box.add(name_box)
|
||||
main_box.add(hello_button)
|
||||
main_box.add(quit_button)
|
||||
|
||||
self.main_window = toga.MainWindow(title=self.formal_name)
|
||||
self.main_window.content = main_box
|
||||
|
|
Loading…
Reference in a new issue