FIX:changed name is out of sync with printer, when send to sdcard
Change-Id: I357c0f6e53f1413af57e26e68ab44c6e76ef0ce1
This commit is contained in:
parent
3fff9b5c7f
commit
362c365679
|
@ -363,6 +363,11 @@ SendToPrinterDialog::SendToPrinterDialog(Plater *plater)
|
|||
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();});
|
||||
m_rename_input->Bind(wxEVT_KILL_FOCUS, [this](auto& e) {
|
||||
if (!m_rename_input->HasFocus() && !m_rename_text->HasFocus())
|
||||
on_rename_enter();
|
||||
else
|
||||
e.Skip(); });
|
||||
rename_edit_sizer_v->Add(m_rename_input, 1, wxALIGN_CENTER, 0);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue