Merge pull request #132 from default0/master

Fix scrollbar of FileDialog not updating
This commit is contained in:
Vadim Lopatin 2015-12-23 07:31:13 +03:00
commit 952acd4fce
1 changed files with 3 additions and 0 deletions

View File

@ -227,6 +227,9 @@ class FileDialog : Dialog, CustomGridCellAdapter {
_fileList.setCellText(2, i, toUTF32(sz));
_fileList.setCellText(3, i, toUTF32(date));
}
if(_fileList.height > 0)
_fileList.scrollTo(0, 0);
_fileList.autoFitColumnWidths();
_fileList.fillColumnWidth(1);
if (selectionIndex >= 0)