diff --git a/src/slic3r/GUI/ParamsPanel.cpp b/src/slic3r/GUI/ParamsPanel.cpp index a3f12c1647..5ecc2d4d3c 100644 --- a/src/slic3r/GUI/ParamsPanel.cpp +++ b/src/slic3r/GUI/ParamsPanel.cpp @@ -190,15 +190,6 @@ void TipsDialog::on_dpi_changed(const wxRect &suggested_rect) Refresh(); } -void TipsDialog::on_ok(wxMouseEvent &event) -{ - if (m_show_again) { - if (!m_app_key.empty()) - wxGetApp().app_config->set_bool(m_app_key, m_show_again); - } - EndModal(wxID_OK); -} - void ParamsPanel::Highlighter::set_timer_owner(wxEvtHandler *owner, int timerid /* = wxID_ANY*/) { m_timer.SetOwner(owner, timerid); diff --git a/src/slic3r/GUI/ParamsPanel.hpp b/src/slic3r/GUI/ParamsPanel.hpp index 61e13956a5..b2d2065a39 100644 --- a/src/slic3r/GUI/ParamsPanel.hpp +++ b/src/slic3r/GUI/ParamsPanel.hpp @@ -56,7 +56,6 @@ public: protected: void on_dpi_changed(const wxRect &suggested_rect) override; - void on_ok(wxMouseEvent &event); wxBoxSizer *create_item_checkbox(wxString title, wxWindow *parent, wxString tooltip, std::string param); Button* add_button(wxWindowID btn_id, const wxString &label, bool set_focus = false); };