ENH:fix directly connected text

jira:[STUDIO-8031]

Change-Id: I0e747e4a279ab97ed7cab2acc6efb14cbafc4685
(cherry picked from commit 00b65490dcf853c864cbce1abe3de22c162ba58d)
This commit is contained in:
tao wang 2024-09-04 19:51:46 +08:00 committed by Noisyfox
parent 02abd177b5
commit d380b59774

View file

@ -1858,6 +1858,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();
@ -1865,6 +1866,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();