summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-07-27 00:15:27 +0200
committermathieui <mathieui@mathieui.net>2014-07-27 00:15:27 +0200
commit2275b61a4dadfa84dc1399a97908f8dc7c22d07b (patch)
treec792327fc4ae512dd8e93ddc0aebe550aa719c46 /src/windows
parent459471d7160295259683a6268e7e2e465d4dd2d0 (diff)
downloadpoezio-2275b61a4dadfa84dc1399a97908f8dc7c22d07b.tar.gz
poezio-2275b61a4dadfa84dc1399a97908f8dc7c22d07b.tar.bz2
poezio-2275b61a4dadfa84dc1399a97908f8dc7c22d07b.tar.xz
poezio-2275b61a4dadfa84dc1399a97908f8dc7c22d07b.zip
Add dummy on_delete handlers for input placeholders
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/input_placeholders.py6
1 files changed, 6 insertions, 0 deletions
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
+