mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06: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:
parent
2dfb4f1a68
commit
a329497f49
4 changed files with 10 additions and 10 deletions
|
@ -1123,7 +1123,7 @@ void SendToPrinterDialog::set_default()
|
|||
}
|
||||
}
|
||||
|
||||
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();
|
||||
|
@ -1238,4 +1238,4 @@ SendToPrinterDialog::~SendToPrinterDialog()
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue