mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX:deal sync_printer_preset logic when it is false
jira: STUDIO-11017 Change-Id: Iafb0d954563e6bc2472122e98ba9a3d527f6c487 (cherry picked from commit 78c0a845d2ed2508de943b598a6dc5c28bf3d0b8)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user