fix bug that filebox single selection fails on Linux

This commit is contained in:
Jinhao 2019-06-18 08:23:54 +08:00
parent ce2d738a56
commit e5a935ab83

View File

@ -1062,6 +1062,8 @@ namespace nana
{
if(text.length() == start_pos)
return files;
else if(0 == start_pos) //single selection
return {text};
return {};
}