diff --git a/src/sentry_wrapper/SentryWrapper.cpp b/src/sentry_wrapper/SentryWrapper.cpp index 6af78b3b6f..2c82872950 100644 --- a/src/sentry_wrapper/SentryWrapper.cpp +++ b/src/sentry_wrapper/SentryWrapper.cpp @@ -137,6 +137,7 @@ void initSentryEx() sentry_init(options); sentry_start_session(); + sentryReportLog(SENTRY_LOG_INFO, "init sentry successful", "initSentry module"); } } diff --git a/src/slic3r/GUI/Preferences.cpp b/src/slic3r/GUI/Preferences.cpp index 9f6da051dd..fd83224652 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -1020,6 +1020,10 @@ wxBoxSizer* PreferencesDialog::create_item_link_association(wxWindow* parent, wx PreferencesDialog::PreferencesDialog(wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos, const wxSize &size, long style) : DPIDialog(parent, id, _L("Preferences"), pos, size, style) { + wxPanel* pPanel = new wxPanel(); + delete pPanel; + delete pPanel; + SetBackgroundColour(*wxWHITE); create(); wxGetApp().UpdateDlgDarkUI(this);