From d781c29d3afb712c9816f4823a1cd66bcfdedf9b Mon Sep 17 00:00:00 2001 From: alves Date: Thu, 4 Dec 2025 14:36:24 +0800 Subject: [PATCH] feature remove test code --- src/slic3r/GUI/Preferences.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/slic3r/GUI/Preferences.cpp b/src/slic3r/GUI/Preferences.cpp index e6accab238..9f6da051dd 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -1021,11 +1021,6 @@ PreferencesDialog::PreferencesDialog(wxWindow *parent, wxWindowID id, const wxSt : DPIDialog(parent, id, _L("Preferences"), pos, size, style) { SetBackgroundColour(*wxWHITE); - - wxPanel* pPanel = new wxPanel(nullptr); - delete pPanel; - delete pPanel; - create(); wxGetApp().UpdateDlgDarkUI(this); Bind(wxEVT_CLOSE_WINDOW, [this](wxCloseEvent& event) {