FileSelector: select the whole filename when an item is selected in the list

This commit is contained in:
David Capello 2014-03-29 17:21:13 -03:00
parent 7253fa59c5
commit e777729928

View File

@ -664,6 +664,7 @@ void FileSelector::onFileListFileSelected()
base::string filename = base::get_file_name(fileitem->getFileName());
m_fileName->setText(filename.c_str());
m_fileName->selectText(0, -1);
selectFileTypeFromFileName();
}
}