Skip to content

Commit 9a766a7

Browse files
author
jef
committed
fix #2317
git-svn-id: http://svn.osgeo.org/qgis/trunk@12592 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 173e420 commit 9a766a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/qgsmaptoolidentify.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <QMouseEvent>
3939
#include <QCursor>
4040
#include <QPixmap>
41+
#include <QStatusBar>
4142

4243
QgsMapToolIdentify::QgsMapToolIdentify( QgsMapCanvas* canvas )
4344
: QgsMapTool( canvas )
@@ -156,7 +157,7 @@ void QgsMapToolIdentify::canvasReleaseEvent( QMouseEvent * e )
156157
{
157158
results()->clear();
158159
}
159-
QMessageBox::information( 0, tr( "Identify results" ), tr( "No features at this position found." ) );
160+
QgisApp::instance()->statusBar()->showMessage( tr( "No features at this position found." ) );
160161
}
161162
}
162163

0 commit comments

Comments
 (0)