From 2275b61a4dadfa84dc1399a97908f8dc7c22d07b Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 27 Jul 2014 00:15:27 +0200 Subject: Add dummy on_delete handlers for input placeholders --- src/windows/input_placeholders.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/windows') diff --git a/src/windows/input_placeholders.py b/src/windows/input_placeholders.py index 796cf0ad..6ede6b32 100644 --- a/src/windows/input_placeholders.py +++ b/src/windows/input_placeholders.py @@ -34,6 +34,9 @@ class HelpText(Win): def do_command(self, key, raw=False): return False + def on_delete(self): + return + class YesNoInput(Win): """ A Window just displaying a Yes/No input @@ -76,3 +79,6 @@ class YesNoInput(Win): self.key_func[cl[0]]() cl = self.core.read_keyboard() + def on_delete(self): + return + -- cgit v1.2.3