From 5b0a0897f44b8b122e88fcd81e75f7422231854d Mon Sep 17 00:00:00 2001 From: David Kocik <kocikdav@gmail.com> Date: Thu, 26 Jan 2023 09:43:08 +0100 Subject: [PATCH] followup of 70a9520cc3e2caf5f9062eac565cc3a297b881a5 into_u8 instead of format --- src/slic3r/GUI/UpdateDialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/UpdateDialogs.cpp b/src/slic3r/GUI/UpdateDialogs.cpp index 5663262ca..7640f3220 100644 --- a/src/slic3r/GUI/UpdateDialogs.cpp +++ b/src/slic3r/GUI/UpdateDialogs.cpp @@ -193,7 +193,7 @@ AppUpdateDownloadDialog::AppUpdateDownloadDialog( const Semver& ver_online, boos btn_ok->SetLabel(_L("Download")); btn_ok->Bind(wxEVT_BUTTON, ([this, path](wxCommandEvent& e){ boost::system::error_code ec; - std::string input = GUI::format(txtctrl_path->GetValue()); + std::string input = GUI::into_u8(txtctrl_path->GetValue()); boost::filesystem::path dir = boost::filesystem::absolute(boost::filesystem::path(input), ec); if (ec) dir = boost::filesystem::path(input);