OSDN Git Service

PATCH: [ 1869755 ] Use radio symbol for current EOL menu item
authorTim Gerundt <tim@gerundt.de>
Mon, 28 Jan 2008 22:08:43 +0000 (22:08 +0000)
committerTim Gerundt <tim@gerundt.de>
Mon, 28 Jan 2008 22:08:43 +0000 (22:08 +0000)
Docs/Users/ChangeLog.txt
Src/MergeEditView.cpp

index 9ed0ac6..a24f66b 100644 (file)
@@ -6,6 +6,7 @@ WinMerge 2.7.7.4
   Detect (and read/write) UTF-8 files without BOM (#1879271)
   Tell user that file is not a conflict file (#1880423)
   Allow opening conflict file from command line (#1880857)
+  Use radio symbol for current EOL menu item (#1869755)
   BugFix: Always return 0 to command line (#1854419)
   Translation updates:
   - Croatian (r4952)
index 454c739..c8c0dbf 100644 (file)
@@ -2117,10 +2117,10 @@ void CMergeEditView::OnUpdateConvertEolTo(CCmdUI* pCmdUI)
        if (GetOptionsMgr()->GetBool(OPT_ALLOW_MIXED_EOL) ||
                nStyle != m_pTextBuffer->GetCRLFMode())
        {
-               pCmdUI->Enable(TRUE);
+               pCmdUI->SetRadio(FALSE);
        }
        else
-               pCmdUI->Enable(FALSE);
+               pCmdUI->SetRadio(TRUE);
 }
 
 /**