mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 15:30:45 +08:00
FIX: fix a crash issue when switch language under debug mode
Change-Id: I901e880601f963ceea433aaec1c455c2698b77f7 (cherry picked from commit 6a0fc275664503a53515d174ef7c71c829db4b14)
This commit is contained in:
parent
697a45379f
commit
420fae9bbf
@ -3269,7 +3269,7 @@ void GUI_App::recreate_GUI(const wxString& msg_name)
|
||||
// });
|
||||
|
||||
//show publish button
|
||||
if (m_agent->is_user_login() && mainframe) {
|
||||
if (m_agent && m_agent->is_user_login() && mainframe) {
|
||||
int identifier;
|
||||
int result = m_agent->get_user_info(&identifier);
|
||||
auto publish_identifier = identifier & 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user