resolve keyboard shortcuts through one action table instead of a switch
This commit is contained in:
@@ -39,6 +39,11 @@ bool BlueprintLibrary::getCanCaptureSelection() const
|
||||
return selectionHasPlaceableBuilding(*m_sim, m_selectedBuildingIds);
|
||||
}
|
||||
|
||||
bool BlueprintLibrary::getHasTemporaryBlueprint() const
|
||||
{
|
||||
return m_temporaryBlueprint.has_value();
|
||||
}
|
||||
|
||||
void BlueprintLibrary::saveSelectionAs(const QString& name)
|
||||
{
|
||||
Blueprint blueprint = createBlueprintFromSelection();
|
||||
|
||||
Reference in New Issue
Block a user