mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 12:52:07 +00:00
fix crash when opening preference dialog
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <wx/dialog.h>
|
||||
#include <wx/timer.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <list>
|
||||
#include <map>
|
||||
@@ -43,10 +44,12 @@ protected:
|
||||
// bool m_settings_layout_changed {false};
|
||||
bool m_seq_top_layer_only_changed{false};
|
||||
bool m_recreate_GUI{false};
|
||||
std::string m_pending_language;
|
||||
|
||||
public:
|
||||
bool seq_top_layer_only_changed() const { return m_seq_top_layer_only_changed; }
|
||||
bool recreate_GUI() const { return m_recreate_GUI; }
|
||||
const std::string& pending_language() const { return m_pending_language; }
|
||||
void on_dpi_changed(const wxRect &suggested_rect) override;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user