Gui: [skip ci] fix regression not to allow to have selected several objects when opening the placement dialog

This commit is contained in:
wmayer
2021-10-26 21:55:15 +02:00
parent f275893f5f
commit 3c825565eb

View File

@@ -1574,7 +1574,7 @@ void StdCmdPlacement::activated(int iMsg)
bool StdCmdPlacement::isActive(void)
{
return Gui::Selection().countObjectsOfType(App::GeoFeature::getClassTypeId()) == 1;
return Gui::Selection().countObjectsOfType(App::GeoFeature::getClassTypeId()) >= 1;
}
//===========================================================================