Skip to content

Commit

Permalink
Display a warning message when identify fails to find a feature when in
Browse files Browse the repository at this point in the history
editing mode. Address ticket #331.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5993 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 22, 2006
1 parent f95951b commit 8a761d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gui/qgsmaptoolidentify.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 8a761d9

Please sign in to comment.