ENH:optimize the save presets dialog

Change-Id: I7cd954d27db96a461e4e6b8a10c904dbb892b002
This commit is contained in:
tao wang 2022-12-13 10:59:57 +08:00 committed by Lane.Wei
parent 4d8d4cb69c
commit f54e2d2a00
2 changed files with 15 additions and 19 deletions

View file

@ -56,7 +56,6 @@ class SavePresetDialog : public DPIDialog
//BBS: add project embedded preset relate logic
bool save_to_project() const { return m_save_to_project; }
StaticBox* m_input_area {nullptr};
Preset::Type m_type;
ValidationType m_valid_type;
std::string m_preset_name;
@ -64,7 +63,7 @@ class SavePresetDialog : public DPIDialog
SavePresetDialog* m_parent {nullptr};
wxStaticBitmap* m_valid_bmp {nullptr};
wxComboBox* m_combo {nullptr};
wxTextCtrl* m_input_ctrl {nullptr};
TextInput* m_input_ctrl {nullptr};
wxStaticText* m_valid_label {nullptr};
PresetCollection* m_presets {nullptr};