From b08f6fd2bc3896baaf2ba750daf9998ac0bd028a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 25 Jul 2010 08:50:10 +0000 Subject: [PATCH] The "Rotate indices" and "Clean up" menu items need to be enabled depending on the current selection. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37731 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/icon-o-matic/gui/PathListView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/icon-o-matic/gui/PathListView.cpp b/src/apps/icon-o-matic/gui/PathListView.cpp index f2b55cb08c..4a45187269 100644 --- a/src/apps/icon-o-matic/gui/PathListView.cpp +++ b/src/apps/icon-o-matic/gui/PathListView.cpp @@ -869,6 +869,9 @@ PathListView::_UpdateMenu() fDuplicateMI->SetEnabled(gotSelection); fReverseMI->SetEnabled(gotSelection); + fCleanUpMI->SetEnabled(gotSelection); + fRotateIndicesLeftMI->SetEnabled(gotSelection); + fRotateIndicesRightMI->SetEnabled(gotSelection); fRemoveMI->SetEnabled(gotSelection); }