Browse Source

Check for active tool as well as items.

Fixes https://gitlab.com/kicad/code/kicad/issues/7821
6.0.7
Jeff Young 5 years ago
parent
commit
6fd247a152
  1. 2
      eeschema/sch_edit_frame.cpp

2
eeschema/sch_edit_frame.cpp

@ -371,7 +371,7 @@ void SCH_EDIT_FRAME::setupUIConditions()
auto hasElements =
[ this ] ( const SELECTION& aSel )
{
return !GetScreen()->Items().empty();
return !GetScreen()->Items().empty() || !SELECTION_CONDITIONS::Idle( aSel );
};
#define ENABLE( x ) ACTION_CONDITIONS().Enable( x )

Loading…
Cancel
Save