From b76cfabb985d364850a04c8a70f5c04293357da4 Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期五, 15 十一月 2024 10:06:29 +0800
Subject: [PATCH] 1. 添加控件库 2.Axis设定界面文本字体不跟对话框大小变化3.修复修改用户界面的bug

---
 SourceCode/Bond/BondEq/View/ChangePasswordDlg.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/BondEq/View/ChangePasswordDlg.cpp b/SourceCode/Bond/BondEq/View/ChangePasswordDlg.cpp
index e031a81..7fe322e 100644
--- a/SourceCode/Bond/BondEq/View/ChangePasswordDlg.cpp
+++ b/SourceCode/Bond/BondEq/View/ChangePasswordDlg.cpp
@@ -82,6 +82,11 @@
         return;
     }
 
+    if (newPassword.Compare(currentPassword) == 0) {
+        EndDialog(IDCANCEL);
+        return;
+    }
+
 #ifdef UNICODE
     std::string strUsername = CStringA(username);
     std::string strCurrentPassword = CStringA(currentPassword);

--
Gitblit v1.9.3