event fix

This commit is contained in:
shenjack 2023-03-22 00:08:14 +08:00
parent 96b270b096
commit 18d4a3e127
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ class ClientWindow(Window):
self.input_box = InputBox(x=50, y=30, width=300,
batch=self.label_batch, text='') # 实例化
self.input_box.push_handlers(self)
self.input_box.set_handler('on_commit', self.on_input)
self.input_box.push_handler('on_commit', self.on_input)
self.push_handlers(self.input_box)
self.input_box.enabled = True
# 设置刷新率

View File

@ -22,7 +22,7 @@
- [![Readme-gitee](https://img.shields.io/badge/Readme-中文(点我!)-blue.svg?style=flat-square)](../../README.md)
- Using [SemVer 2.0.0](https://semver.org/) to manage version
<!-- cmdrun echo "aaaaa" -->
<!-- cmdrun seq 1 10 -->
## 20230302 DR `0.7.1.5` + Build `1.2.1.0` + DR_rs `0.2.5.6`