From: Eran I. <no...@so...> - 2014-01-10 21:24:27
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "codelite". The branch, master has been updated via bc5687e8d33054008f9bd28f070ded6ecf80ad2b (commit) from 4125137b1e079ee8b42ed62a882a71d87c27cf41 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceforge.net/p/codelite/codelitegit/ci/bc5687e8d33054008f9bd28f070ded6ecf80ad2b commit bc5687e8d33054008f9bd28f070ded6ecf80ad2b Author: Eran <era...@gm...> Date: Fri Jan 10 23:24:12 2014 +0200 Git: fixed crash when sorting an invalid column in the "browse history" dialog diff --git a/git/gitCommitListDlg.cpp b/git/gitCommitListDlg.cpp index 393f11c..7a94e64 100644 --- a/git/gitCommitListDlg.cpp +++ b/git/gitCommitListDlg.cpp @@ -144,6 +144,10 @@ void GitCommitListDlg::OnProcessOutput(wxCommandEvent &event) void GitCommitListDlg::OnSelectionChanged(wxDataViewEvent& event) { wxVariant v; + if ( !event.GetItem().IsOk() ) { + return; + } + m_dvListCtrlCommitList->GetValue(v, m_dvListCtrlCommitList->ItemToRow(event.GetItem()), 0); wxString commitID = v.GetString(); wxString command = wxString::Format(wxT("%s --no-pager show %s"), m_gitPath.c_str(), commitID.c_str()); ----------------------------------------------------------------------- Summary of changes: git/gitCommitListDlg.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) hooks/post-receive -- codelite |