From 9248e711cf7233e82935f2183bb59bdda291ae00 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 11 Nov 2012 12:35:36 +0100 Subject: [PATCH] Enable "Export selection to..." also if only one file is selected Signed-off-by: Sven Strickroth --- src/Git/GitStatusListCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Git/GitStatusListCtrl.cpp b/src/Git/GitStatusListCtrl.cpp index 5a397591b..d795e70d2 100644 --- a/src/Git/GitStatusListCtrl.cpp +++ b/src/Git/GitStatusListCtrl.cpp @@ -1648,7 +1648,7 @@ void CGitStatusListCtrl::OnContextMenuList(CWnd * pWnd, CPoint point) } } - if (GetSelectedCount() > 1) + if (GetSelectedCount() > 0) { if ((m_dwContextMenus & GetContextMenuBit(IDGITLC_EXPORT)) && !(wcStatus & CTGitPath::LOGACTIONS_DELETED)) popup.AppendMenuIcon(IDGITLC_EXPORT, IDS_LOG_POPUP_EXPORT, IDI_EXPORT); -- 2.11.4.GIT