Skip to content

Commit

Permalink
Update src/gui/qgsgui.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 21, 2024
1 parent 3f76733 commit c9615b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/qgsgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,10 @@ void QgsGui::initCalloutWidgets()
{
QgsDebugError( QStringLiteral( "Failed to cast callout's metadata: " ) .arg( name ) );
}
metadata->setWidgetFunction( f );
else
{
metadata->setWidgetFunction( f );
}
};

_initCalloutWidgetFunction( QStringLiteral( "simple" ), QgsSimpleLineCalloutWidget::create );
Expand Down

0 comments on commit c9615b6

Please sign in to comment.