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/qgis@6166 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Dec 1, 2006
1 parent d5a8f4f commit 5728546c0425439b4eee09a7827b527d19682eba
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 5728546

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