mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX:renaming will display the current file name
Change-Id: I0893d2b3e0c34822f311aaac2ec41911b66b4383
This commit is contained in:
parent
c243893aae
commit
e2d10baea0
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue