Skip to content
Permalink
Browse files

Fix yoda talk, clear message after 2 seconds

  • Loading branch information
uclaros authored and nyalldawson committed Dec 18, 2020
1 parent 7657be2 commit fe6cf6090b5c7c6607332818568922ab81cf8506
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgsmaptoolfeatureaction.cpp
  2. +1 −1 src/app/qgsmaptoolidentifyaction.cpp
@@ -77,7 +77,7 @@ void QgsMapToolFeatureAction::canvasReleaseEvent( QgsMapMouseEvent *e )
}

if ( !doAction( vlayer, e->x(), e->y() ) )
QgisApp::instance()->statusBarIface()->showMessage( tr( "No features at this position found." ) );
QgisApp::instance()->statusBarIface()->showMessage( tr( "No features found at this position." ), 2000 );
}

void QgsMapToolFeatureAction::activate()
@@ -140,7 +140,7 @@ void QgsMapToolIdentifyAction::identifyFromGeometry()
if ( results.isEmpty() )
{
resultsDialog()->clear();
QgisApp::instance()->statusBarIface()->showMessage( tr( "No features at this position found." ) );
QgisApp::instance()->statusBarIface()->showMessage( tr( "No features found at this position." ), 2000 );
}
else
{

0 comments on commit fe6cf60

Please sign in to comment.
You can’t perform that action at this time.