ENH: add studio unsigned msg dialog
JIRA: no-jira Change-Id: I3a4cd03a58d52a725fc5b29c8da7c6d74a00b227 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
ace06ed45e
commit
d1eb8092ce
|
@ -4956,6 +4956,13 @@ void GUI_App::process_network_msg(std::string dev_id, std::string msg)
|
|||
m_show_error_msgdlg = false;
|
||||
}
|
||||
}
|
||||
else if (msg == "unsigned_studio") {
|
||||
BOOST_LOG_TRIVIAL(info) << "process_network_msg, unsigned_studio";
|
||||
MessageDialog msg_dlg(nullptr, _L("Your software is not signed, and some printing functions have been restricted. Please use the officially signed software version."), "", wxAPPLY | wxOK);
|
||||
m_show_error_msgdlg = true;
|
||||
auto modal_result = msg_dlg.ShowModal();
|
||||
m_show_error_msgdlg = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue