Skip to content
Permalink
Browse files

Potential fix for ticket #406 (qgis crashes on copy postgres attributes)

git-svn-id: http://svn.osgeo.org/qgis/trunk@6166 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Dec 1, 2006
1 parent bc8a475 commit 49658807db1ed8b6a4f89d921a9e68d3136852d3
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/gui/qgsclipboard.cpp
@@ -79,7 +79,10 @@ void QgsClipboard::replaceWithCopyOf( std::vector<QgsFeature> features )

// TODO: Set up Paste Transformations to specify the order in which fields are added.

textFields += it->geometry()->wkt();
if (it->geometry())
textFields += it->geometry()->wkt();
else
textFields += "NULL";

#ifdef QGISDEBUG
// std::cout << "QgsClipboard::replaceWithCopyOf: about to traverse fields." << std::endl;

0 comments on commit 4965880

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