We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 8a61767 commit eb0c794Copy full SHA for eb0c794
src/gui/qgscomposerview.cpp
@@ -105,6 +105,19 @@ void QgsComposerView::mousePressEvent( QMouseEvent* e )
105
}
106
return;
107
108
+ else if ( e->button() == Qt::MidButton )
109
+ {
110
+ //pan composer with middle button
111
+ mPanning = true;
112
+ mMouseLastXY = e->pos();
113
+ if ( composition() )
114
115
+ //lock cursor to closed hand cursor
116
+ composition()->setPreventCursorChange( true );
117
+ }
118
+ viewport()->setCursor( Qt::ClosedHandCursor );
119
+ return;
120
121
122
switch ( mCurrentTool )
123
{
0 commit comments