Skip to content
Permalink
Browse files
Display a warning message when identify fails to find a feature when in
editing mode. Address ticket #331.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5993 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 22, 2006
1 parent c1b9199 commit ed41853
Showing 1 changed file with 6 additions and 0 deletions.
@@ -390,7 +390,13 @@ void QgsMapToolIdentify::identifyVectorLayer(QgsVectorLayer* layer, const QgsPoi
}
}
else
{
QApplication::restoreOverrideCursor();
QMessageBox::information(0, tr("No features found"),
tr("<p>No features were found within the search radius. "
"Note that it is currently not possible to use the "
"identify tool on unsaved features.</p>"));
}
}
dataProvider->reset();
}

0 comments on commit ed41853

Please sign in to comment.