mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 17:12:07 +00:00
FIX:renaming will display the current file name
Change-Id: I0893d2b3e0c34822f311aaac2ec41911b66b4383
This commit is contained in:
@@ -139,6 +139,8 @@ void AuFile::enter_rename_mode()
|
||||
{
|
||||
m_input_name->Show();
|
||||
m_text_name->Hide();
|
||||
auto name = m_file_name.SubString(0, (m_file_name.Find(".") - 1));
|
||||
m_input_name->GetTextCtrl()->SetLabelText(name);
|
||||
Layout();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user