Skip to content

Commit

Permalink
Enable preview jobs to improve projection map UX when dragging around
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Dec 2, 2017
1 parent bec099e commit 02d9e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsprojectionselectiontreewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ QgsProjectionSelectionTreeWidget::QgsProjectionSelectionTreeWidget( QWidget *par
mLayers << new QgsVectorLayer( layerPath );
mAreaCanvas->setLayers( mLayers );
mAreaCanvas->setMapTool( new QgsMapToolPan( mAreaCanvas ) );

mAreaCanvas->setPreviewJobsEnabled( true );
mAreaCanvas->setVisible( mShowMap );

if ( QDialog *dlg = qobject_cast<QDialog *>( parent ) )
Expand Down

0 comments on commit 02d9e14

Please sign in to comment.