Add dummy on_delete handlers for input placeholders
This commit is contained in:
parent
459471d716
commit
2275b61a4d
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,9 @@ class HelpText(Win):
|
||||||
def do_command(self, key, raw=False):
|
def do_command(self, key, raw=False):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
def on_delete(self):
|
||||||
|
return
|
||||||
|
|
||||||
class YesNoInput(Win):
|
class YesNoInput(Win):
|
||||||
"""
|
"""
|
||||||
A Window just displaying a Yes/No input
|
A Window just displaying a Yes/No input
|
||||||
|
@ -76,3 +79,6 @@ class YesNoInput(Win):
|
||||||
self.key_func[cl[0]]()
|
self.key_func[cl[0]]()
|
||||||
cl = self.core.read_keyboard()
|
cl = self.core.read_keyboard()
|
||||||
|
|
||||||
|
def on_delete(self):
|
||||||
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue