From 1db932796939e55a14856b65ca00f463fac8861b Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Thu, 20 Oct 2022 21:57:31 +0100 Subject: [PATCH] fix title setting --- examples/five_by_five.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/five_by_five.py b/examples/five_by_five.py index 5d4c71fe3..84a50d639 100644 --- a/examples/five_by_five.py +++ b/examples/five_by_five.py @@ -317,9 +317,8 @@ class FiveByFive(App[None]): #: App-level bindings. BINDINGS = [("ctrl+d", "toggle_dark", "Toggle Dark Mode")] - def __init__(self) -> None: - """Constructor.""" - super().__init__(title="5x5 -- A little annoying puzzle") + # Set the title + TITLE = "5x5 -- A little annoying puzzle" def on_mount(self) -> None: """Set up the application on startup."""