FIX: fix crash when set empty project name on mac

Change-Id: I656e6281f80bee9e06894a62f3ab6bb1316373ac
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-08-08 14:33:49 +08:00 committed by Yifan Wu
parent 64fb6e7a24
commit b575e21ae1
2 changed files with 3 additions and 2 deletions

View file

@ -17,7 +17,7 @@
namespace Slic3r {
namespace GUI {
NSTextField* mainframe_text_field;
NSTextField* mainframe_text_field = nil;
bool mac_dark_mode()
{