mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH:file rename support Enter key confirmation
Change-Id: I708d120d132dac7f1bf14bb508310ba55987ad4c
This commit is contained in:
parent
1c919977b1
commit
75ddeb7572
2 changed files with 2 additions and 0 deletions
|
@ -990,6 +990,7 @@ SelectMachineDialog::SelectMachineDialog(Plater *plater)
|
|||
m_rename_input->SetSize(wxSize(FromDIP(380), FromDIP(24)));
|
||||
m_rename_input->SetMinSize(wxSize(FromDIP(380), FromDIP(24)));
|
||||
m_rename_input->SetMaxSize(wxSize(FromDIP(380), FromDIP(24)));
|
||||
m_rename_input->Bind(wxEVT_TEXT_ENTER, [this](auto& e) {on_rename_enter();});
|
||||
rename_edit_sizer_v->Add(m_rename_input, 1, wxALIGN_CENTER, 0);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue