Skip to content

Commit

Permalink
Remove duplicate call to triggerRepaint
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 29, 2020
1 parent c75f8ef commit 8437c87
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gui/raster/qgsrasterlayerproperties.cpp
Expand Up @@ -1088,8 +1088,6 @@ void QgsRasterLayerProperties::apply()
QPixmap thumbnail = QPixmap::fromImage( mRasterLayer->previewAsImage( pixmapThumbnail->size() ) );
pixmapThumbnail->setPixmap( thumbnail );

mRasterLayer->triggerRepaint();

if ( mRasterLayer->shortName() != mLayerShortNameLineEdit->text() )
mMetadataFilled = false;
mRasterLayer->setShortName( mLayerShortNameLineEdit->text() );
Expand Down

0 comments on commit 8437c87

Please sign in to comment.