mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 06:23:08 +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::tm * now_time = std::localtime(&t);
|
||||
std::stringstream buf;
|
||||
buf << std::put_time(now_time, "debug_%a_%b_%d_%H_%M_%S_");
|
||||
buf << get_current_pid() << ".log";
|
||||
buf << std::put_time(now_time, "%Y-%m-%d-%H-%M-%S");
|
||||
buf << ".log";
|
||||
std::string log_filename = buf.str();
|
||||
#if !BBL_RELEASE_TO_PUBLIC
|
||||
set_log_path_and_level(log_filename, 5);
|
||||
|
||||
@@ -253,12 +253,7 @@ void WebViewPanel::reload() {
|
||||
|
||||
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);
|
||||
|
||||
wxGetApp().fltviews().add_webview_panel(this, url);
|
||||
|
||||
Reference in New Issue
Block a user