We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5377952 commit 79d6407Copy full SHA for 79d6407
1 file changed
src/gui/qgsmapcanvas.cpp
@@ -1255,6 +1255,7 @@ void QgsMapCanvas::keyPressEvent( QKeyEvent * e )
1255
//mCanvasProperties->dragging = true;
1256
if ( ! e->isAutoRepeat() )
1257
{
1258
+ QApplication::setOverrideCursor( Qt::ClosedHandCursor );
1259
mCanvasProperties->panSelectorDown = true;
1260
mCanvasProperties->rubberStartPoint = mCanvasProperties->mouseLastXY;
1261
}
@@ -1308,7 +1309,7 @@ void QgsMapCanvas::keyReleaseEvent( QKeyEvent * e )
1308
1309
if ( !e->isAutoRepeat() && mCanvasProperties->panSelectorDown )
1310
1311
QgsDebugMsg( "Releasing pan selector" );
-
1312
+ QApplication::restoreOverrideCursor();
1313
mCanvasProperties->panSelectorDown = false;
1314
panActionEnd( mCanvasProperties->mouseLastXY );
1315
0 commit comments