mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 09:32:09 +00:00
fix: ambiguous call _check_convertible_to_path_source(const wxCStrData&) (#1597)
* fix: ambiguous call _check_convertible_to_path_source(const wxCStrData&) * change to ToStdWstring() per discussion --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -3069,7 +3069,7 @@ void SelectMachineDialog::set_default()
|
||||
filename = m_plater->get_export_gcode_filename("", true);
|
||||
}
|
||||
|
||||
fs::path filename_path(filename.c_str());
|
||||
fs::path filename_path(filename.ToStdWstring());
|
||||
m_current_project_name = wxString::FromUTF8(filename_path.filename().string());
|
||||
m_rename_text->SetLabelText(m_current_project_name);
|
||||
m_rename_normal_panel->Layout();
|
||||
|
||||
Reference in New Issue
Block a user