mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
FileSelector: select the whole filename when an item is selected in the list
This commit is contained in:
parent
7253fa59c5
commit
e777729928
@ -664,6 +664,7 @@ void FileSelector::onFileListFileSelected()
|
|||||||
base::string filename = base::get_file_name(fileitem->getFileName());
|
base::string filename = base::get_file_name(fileitem->getFileName());
|
||||||
|
|
||||||
m_fileName->setText(filename.c_str());
|
m_fileName->setText(filename.c_str());
|
||||||
|
m_fileName->selectText(0, -1);
|
||||||
selectFileTypeFromFileName();
|
selectFileTypeFromFileName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user