reapack

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

commit d859fa575763d6b39debe55473f7aa4e61019f83
parent c3f18d716fbc13f87c2ff18ec9177ef34e614504
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Wed, 13 Jan 2016 15:21:45 -0500

fix a potential crash when accessing the current remote in the configuration dialog

Diffstat:
Msrc/manager.cpp | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/manager.cpp b/src/manager.cpp @@ -180,7 +180,8 @@ Remote Manager::currentRemote() const if(index < 0) return {}; - const string &remoteName = from_autostring(m_list->getRow(index)[0]); + const ListView::Row &row = m_list->getRow(index); + const string &remoteName = from_autostring(row[0]); return m_reapack->config()->remotes()->get(remoteName); }