[QGIS Commit] r13347 - trunk/qgis/python/plugins/fTools/tools

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Apr 22 13:45:14 EDT 2010


Author: cfarmer
Date: 2010-04-22 13:45:13 -0400 (Thu, 22 Apr 2010)
New Revision: 13347

Modified:
   trunk/qgis/python/plugins/fTools/tools/doVisual.py
   trunk/qgis/python/plugins/fTools/tools/frmVisual.ui
Log:
fixes copy and pasting of results from several analysis tools. Patch from Alex.

Modified: trunk/qgis/python/plugins/fTools/tools/doVisual.py
===================================================================
--- trunk/qgis/python/plugins/fTools/tools/doVisual.py	2010-04-22 15:07:45 UTC (rev 13346)
+++ trunk/qgis/python/plugins/fTools/tools/doVisual.py	2010-04-22 17:45:13 UTC (rev 13347)
@@ -25,7 +25,7 @@
     Reimplemented key press event:
     '''
     if ( e.modifiers() == Qt.ControlModifier or e.modifiers() == Qt.MetaModifier ) and e.key() == Qt.Key_C:
-      selection = self.lstUnique.selectedItems()
+      #selection = self.tblUnique.selectedItems()
       items = QString()
       if self.myFunction in ( 1, 2 ):
         for rec in range( self.tblUnique.rowCount() ):

Modified: trunk/qgis/python/plugins/fTools/tools/frmVisual.ui
===================================================================
--- trunk/qgis/python/plugins/fTools/tools/frmVisual.ui	2010-04-22 15:07:45 UTC (rev 13346)
+++ trunk/qgis/python/plugins/fTools/tools/frmVisual.ui	2010-04-22 17:45:13 UTC (rev 13347)
@@ -10,7 +10,7 @@
     <x>0</x>
     <y>0</y>
     <width>404</width>
-    <height>485</height>
+    <height>481</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -152,6 +152,13 @@
      </property>
     </widget>
    </item>
+   <item row="7" column="0">
+    <widget class="QLabel" name="label_5">
+     <property name="text">
+      <string>Press Ctrl+C to copy results to the clipboard</string>
+     </property>
+    </widget>
+   </item>
   </layout>
  </widget>
  <resources/>



More information about the QGIS-commit mailing list