feature fix modify machine type and switch page bug.

This commit is contained in:
alves
2026-03-13 12:23:44 +08:00
parent 9ed9c9a983
commit 0919694d13
2 changed files with 2 additions and 7 deletions

View File

@@ -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);

View File

@@ -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);