Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix missing crosshairs on marker symbol previews
Fixes #51519

Accidentally introduced by 4e73dd9
  • Loading branch information
nyalldawson committed Jan 30, 2023
1 parent 9a36f7f commit f373f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/symbology/qgssymbolselectordialog.cpp
Expand Up @@ -457,7 +457,7 @@ void QgsSymbolSelectorWidget::updatePreview()
return;

std::unique_ptr< QgsSymbol > symbolClone( mSymbol->clone() );
const QImage preview = symbolClone->bigSymbolPreviewImage( &mPreviewExpressionContext, Qgis::SymbolPreviewFlags() );
const QImage preview = symbolClone->bigSymbolPreviewImage( &mPreviewExpressionContext, Qgis::SymbolPreviewFlag::FlagIncludeCrosshairsForMarkerSymbols );
lblPreview->setPixmap( QPixmap::fromImage( preview ) );
// Hope this is a appropriate place
if ( !mBlockModified )
Expand Down

0 comments on commit f373f5b

Please sign in to comment.