mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
keep reference to remove task
This commit is contained in:
@@ -170,7 +170,7 @@ async def test_remove():
|
||||
|
||||
class RemoveApp(App):
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Container(RemoveMeLabel(), RemoveMeLabel())
|
||||
yield Container(RemoveMeLabel())
|
||||
|
||||
async def action_remove_all(self) -> None:
|
||||
await self.query_one(Container).clear()
|
||||
|
||||
Reference in New Issue
Block a user