mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-09 10:16:50 +00:00
feature fix modify machine type and switch page bug.
This commit is contained in:
@@ -2016,8 +2016,8 @@ void GUI_App::init_app_config()
|
|||||||
std::time_t t = std::time(0);
|
std::time_t t = std::time(0);
|
||||||
std::tm * now_time = std::localtime(&t);
|
std::tm * now_time = std::localtime(&t);
|
||||||
std::stringstream buf;
|
std::stringstream buf;
|
||||||
buf << std::put_time(now_time, "debug_%a_%b_%d_%H_%M_%S_");
|
buf << std::put_time(now_time, "%Y-%m-%d-%H-%M-%S");
|
||||||
buf << get_current_pid() << ".log";
|
buf << ".log";
|
||||||
std::string log_filename = buf.str();
|
std::string log_filename = buf.str();
|
||||||
#if !BBL_RELEASE_TO_PUBLIC
|
#if !BBL_RELEASE_TO_PUBLIC
|
||||||
set_log_path_and_level(log_filename, 5);
|
set_log_path_and_level(log_filename, 5);
|
||||||
|
|||||||
@@ -253,12 +253,7 @@ void WebViewPanel::reload() {
|
|||||||
|
|
||||||
void WebViewPanel::load_url(wxString& url)
|
void WebViewPanel::load_url(wxString& url)
|
||||||
{
|
{
|
||||||
this->Show();
|
|
||||||
this->Raise();
|
|
||||||
/*m_url->SetLabelText(url);
|
|
||||||
|
|
||||||
if (wxGetApp().get_mode() == comDevelop)
|
|
||||||
wxLogMessage(m_url->GetValue());*/
|
|
||||||
m_browser->LoadURL(url);
|
m_browser->LoadURL(url);
|
||||||
|
|
||||||
wxGetApp().fltviews().add_webview_panel(this, url);
|
wxGetApp().fltviews().add_webview_panel(this, url);
|
||||||
|
|||||||
Reference in New Issue
Block a user