FIX:renaming will display the current file name

Change-Id: I0893d2b3e0c34822f311aaac2ec41911b66b4383
This commit is contained in:
tao wang 2022-10-09 09:59:15 +08:00 committed by Lane.Wei
parent c243893aae
commit e2d10baea0

View file

@ -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();
}