mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 21:02:23 +00:00
ENH:losing focus when renaming is automatically saved
Change-Id: I411e824e4b7154aa85e14d1c0aae3ddf979bd259
This commit is contained in:
@@ -101,17 +101,19 @@ protected:
|
||||
wxBoxSizer* m_sizer_main;
|
||||
wxBoxSizer* m_sizer_bottom;
|
||||
|
||||
bool m_is_rename_mode{false};
|
||||
bool enable_prepare_mode{true};
|
||||
bool m_need_adaptation_screen{ false };
|
||||
wxPanel* m_scrollable_region;
|
||||
wxBoxSizer* m_sizer_scrollable_region;
|
||||
|
||||
void on_kill_focus(wxFocusEvent& event);
|
||||
void on_rename_click(wxCommandEvent& event);
|
||||
void on_rename_enter(wxCommandEvent& event);
|
||||
void on_rename_enter();
|
||||
|
||||
void stripWhiteSpace(std::string& str);
|
||||
wxString format_text(wxString& m_msg);
|
||||
void check_focus(wxWindow* window);
|
||||
void check_fcous_state(wxWindow* window);
|
||||
void update_priner_status_msg(wxString msg, bool is_warning = false);
|
||||
void update_print_status_msg(wxString msg, bool is_warning = false, bool is_printer = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user