FIX:Unknown material display incomplete

jira: STUDIO-9997
Change-Id: I55409e5ba054eadf9200c22b8c6ab31223c3b689
(cherry picked from commit 5c6a752279c20d3bc2628edf9db0aa320bdf322d)
(cherry picked from commit e113538a1741465e6b25583c5e4101ea499debc3)
This commit is contained in:
zhou.xu
2025-01-21 17:25:45 +08:00
committed by Noisyfox
parent 7ce79938f7
commit 164fec343f
4 changed files with 33 additions and 23 deletions

View File

@@ -2579,8 +2579,8 @@ bool Sidebar::is_new_project_in_gcode3mf()
});
confirm_dlg.update_btn_label(_L("Yes"), _L("No"));
auto filename = p->plater->get_preview_only_filename();
confirm_dlg.update_text(filename + " " + _L("will be closed before modify filament. Do you want to continue?"));
auto text = wxString::Format(_L("After completing your operation, %s project will be closed and create a new project. Do you want to continue?"), filename);
confirm_dlg.update_text(text);
confirm_dlg.on_show();
if (!is_cancle) {
p->plater->new_project();