Navigation Menu

Skip to content

Commit

Permalink
Ensure canvas is refreshed after triggering Select All
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 8, 2017
1 parent 1ea83e2 commit 6a73801
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/app/qgisapp.cpp
Expand Up @@ -8161,15 +8161,7 @@ void QgisApp::selectAll()
return; return;
} }


// Turn off rendering to improve speed.
bool wasFrozen = mMapCanvas->isFrozen();
freezeCanvases();

vlayer->selectAll(); vlayer->selectAll();

// Turn on rendering (if it was on previously)
if ( !wasFrozen )
freezeCanvases( false );
} }


void QgisApp::selectByExpression() void QgisApp::selectByExpression()
Expand Down

0 comments on commit 6a73801

Please sign in to comment.