File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1255,6 +1255,7 @@ void QgsMapCanvas::keyPressEvent( QKeyEvent * e )
1255
1255
// mCanvasProperties->dragging = true;
1256
1256
if ( ! e->isAutoRepeat () )
1257
1257
{
1258
+ QApplication::setOverrideCursor ( Qt::ClosedHandCursor );
1258
1259
mCanvasProperties ->panSelectorDown = true ;
1259
1260
mCanvasProperties ->rubberStartPoint = mCanvasProperties ->mouseLastXY ;
1260
1261
}
@@ -1308,7 +1309,7 @@ void QgsMapCanvas::keyReleaseEvent( QKeyEvent * e )
1308
1309
if ( !e->isAutoRepeat () && mCanvasProperties ->panSelectorDown )
1309
1310
{
1310
1311
QgsDebugMsg ( " Releasing pan selector" );
1311
-
1312
+ QApplication::restoreOverrideCursor ();
1312
1313
mCanvasProperties ->panSelectorDown = false ;
1313
1314
panActionEnd ( mCanvasProperties ->mouseLastXY );
1314
1315
}
You can’t perform that action at this time.
0 commit comments