From 5ee30b85c394e60b5ac4169a8093a8089345189a Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 20 六月 2025 14:02:29 +0800
Subject: [PATCH] 1.任务的回撤实现,在任务详情上增加"回撤"按钮

---
 SourceCode/Bond/Servo/ServoDlg.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/ServoDlg.cpp b/SourceCode/Bond/Servo/ServoDlg.cpp
index bc56882..bf9c874 100644
--- a/SourceCode/Bond/Servo/ServoDlg.cpp
+++ b/SourceCode/Bond/Servo/ServoDlg.cpp
@@ -235,6 +235,9 @@
 					else if (exCode == ROBOT_EVENT_ABORT) {
 						m_pMyStatusbar->setCurTaskBtnText("无");
 					}
+					else if (exCode == ROBOT_EVENT_RESTORE) {
+						m_pMyStatusbar->setCurTaskBtnText("无");
+					}
 				}
 			}
 

--
Gitblit v1.9.3