diff options
Diffstat (limited to 'ui/folder_history_box.cpp')
-rw-r--r-- | ui/folder_history_box.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/folder_history_box.cpp b/ui/folder_history_box.cpp index cefc03c8..41e0a1fe 100644 --- a/ui/folder_history_box.cpp +++ b/ui/folder_history_box.cpp @@ -84,8 +84,8 @@ void FolderHistoryBox::setValueAndUpdateList(const wxString& dirname) if (sharedHistory_.get()) { - auto tmp = sharedHistory_->getList(); - //std::sort(tmp.begin(), tmp.end(), LessFilename()); + std::vector<Zstring> tmp = sharedHistory_->getList(); + std::sort(tmp.begin(), tmp.end(), LessFilename()); if (!dirList.empty() && !tmp.empty()) dirList.push_back(toZ(FolderHistory::separationLine())); |