mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-26 17:48:35 -07: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:
parent
e011b54d3f
commit
44fe451dc3
2 changed files with 0 additions and 10 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue