ENH:fix directly connected text

jira:[STUDIO-8031]

Change-Id: I0e747e4a279ab97ed7cab2acc6efb14cbafc4685
This commit is contained in:
tao wang 2024-09-04 19:51:46 +08:00 committed by Lane.Wei
parent c3bb86f26c
commit 00b65490dc
1 changed files with 2 additions and 0 deletions

View File

@ -1840,6 +1840,7 @@ void InputIpAddressDialog::workerThreadFunc(std::string str_ip, std::string str_
}
if (detectData.bind_state == "occupied") {
update_test_msg(wxEmptyString, true);
update_test_msg(_L("The printer has already been bound."), false);
Layout();
Fit();
@ -1847,6 +1848,7 @@ void InputIpAddressDialog::workerThreadFunc(std::string str_ip, std::string str_
}
if (detectData.connect_type == "cloud") {
update_test_msg(wxEmptyString, true);
update_test_msg(_L("The printer mode is incorrect, please switch to LAN Only."), false);
Layout();
Fit();