From 18d4a3e12771a437382044a6851ed65c8aba4bcf Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Wed, 22 Mar 2023 00:08:14 +0800 Subject: [PATCH] event fix --- Difficult_Rocket/client/__init__.py | 2 +- docs/src/update_logs.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Difficult_Rocket/client/__init__.py b/Difficult_Rocket/client/__init__.py index 4830e87..ef8bf86 100644 --- a/Difficult_Rocket/client/__init__.py +++ b/Difficult_Rocket/client/__init__.py @@ -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 # 设置刷新率 diff --git a/docs/src/update_logs.md b/docs/src/update_logs.md index 2dc01b4..4ec6e47 100644 --- a/docs/src/update_logs.md +++ b/docs/src/update_logs.md @@ -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 - + ## 20230302 DR `0.7.1.5` + Build `1.2.1.0` + DR_rs `0.2.5.6`