reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 4df98b3f5fdf10d1312f35695a42b8a17cca1dd2
parent 8a349bf71aaa4d4455f0d07084fe823fafc14aa9
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Sun, 26 Jun 2016 01:48:11 -0400

revert "browser: move Last Update column before Repository"

This reverts commit 75deeaf0f78b4ea20e16c7f748fd8f659dfbd45d.

Diffstat:
Msrc/browser.cpp | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/browser.cpp b/src/browser.cpp @@ -86,8 +86,8 @@ void Browser::onInit() {AUTO_STR("Version"), 80}, {AUTO_STR("Author"), 95}, {AUTO_STR("Type"), 70}, - {AUTO_STR("Last Update"), 120, ListView::CollapseFlag}, {AUTO_STR("Repository"), 120, ListView::CollapseFlag}, + {AUTO_STR("Last Update"), 120, ListView::CollapseFlag}, }); m_list->onActivate([=] { history(m_list->itemUnderMouse()); }); @@ -96,7 +96,7 @@ void Browser::onInit() this, placeholders::_1, placeholders::_2)); m_list->sortByColumn(1); - m_list->setSortCallback(6 /* last update */, [&] (const int ai, const int bi) { + m_list->setSortCallback(7 /* last update */, [&] (const int ai, const int bi) { const Entry &a = m_entries[ai]; const Entry &b = m_entries[bi]; @@ -665,13 +665,13 @@ ListView::Row Browser::makeRow(const Entry &entry) const const string &version = getValue(VersionColumn, entry); const string &author = getValue(AuthorColumn, entry); const string &type = getValue(TypeColumn, entry); - const string &date = getValue(TimeColumn, entry); const string &remote = getValue(RemoteColumn, entry); + const string &date = getValue(TimeColumn, entry); return { make_autostring(state), make_autostring(name), make_autostring(category), make_autostring(version), make_autostring(author), make_autostring(type), - make_autostring(date), make_autostring(remote), + make_autostring(remote), make_autostring(date), }; }