Patch #1946 2007-04-04 10:39

pauliusz

Disable Edit->Special commands->Case menu if no selection
Download
1946-Disable_Edit_S.patch (412 bytes)
Category
Application::Refinement
Status
Accepted
Close date
2007-04-12 10:07
Assigned to
 
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp    (revision 3811)
+++ src/src/main.cpp    (working copy)
@@ -3232,6 +3232,7 @@
     mbar->Enable(idEditAutoComplete, ed);
     mbar->Enable(idEditUncommentSelected, ed);
     mbar->Enable(idEditToggleCommentSelected, ed);
+    mbar->Enable(idEditSpecialCommandsCase, eb && hasSel);
 
     if (ed)
     {
mandrav 2007-04-12 10:07

Patch applied, thank you.