From 007659aeec6d50fe3367601516c0c54a57129bf1 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Wed, 24 Aug 2022 09:26:52 +0800 Subject: [PATCH] FIX: hide the "Don't show again" checkbox of ProjectDropDialog Change-Id: I83ed917cab71e10eda6a14a4f78ebc56ee894600 (cherry picked from commit 64179562b116f5b16fc223d5d307e5c2f795e6c1) --- src/slic3r/GUI/Plater.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 815e6a06c8..bfd38201d7 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -7045,12 +7045,13 @@ ProjectDropDialog::ProjectDropDialog(const std::string &filename) m_sizer_main->Add(0, 0, 0, wxEXPAND | wxTOP, 10); wxBoxSizer *m_sizer_bottom = new wxBoxSizer(wxHORIZONTAL); - wxBoxSizer *m_sizer_left = new wxBoxSizer(wxHORIZONTAL); + // hide the "Don't show again" checkbox + //wxBoxSizer *m_sizer_left = new wxBoxSizer(wxHORIZONTAL); - auto dont_show_again = create_item_checkbox(_L("Don't show again"), this, _L("Don't show again"), "show_drop_project_dialog"); - m_sizer_left->Add(dont_show_again, 0, wxALL, 5); + //auto dont_show_again = create_item_checkbox(_L("Don't show again"), this, _L("Don't show again"), "show_drop_project_dialog"); + //m_sizer_left->Add(dont_show_again, 0, wxALL, 5); - m_sizer_bottom->Add(m_sizer_left, 0, wxEXPAND, 5); + //m_sizer_bottom->Add(m_sizer_left, 0, wxEXPAND, 5); m_sizer_bottom->Add(0, 0, 1, wxEXPAND, 5);