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/qgis@5993 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 22, 2006
1 parent f95951b commit 8a761d94e3820fd7bf9b12077a6ea0f111fa5e47
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/gui/qgsmaptoolidentify.cpp
@@ -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 8a761d9

Please sign in to comment.