Skip to content

Commit

Permalink
fixes copy and pasting of results from several analysis tools. Patch …
Browse files Browse the repository at this point in the history
…from Alex.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13347 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer committed Apr 22, 2010
1 parent c90349d commit 787500a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doVisual.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def keyPressEvent( self, e ):
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() ):
Expand Down
9 changes: 8 additions & 1 deletion python/plugins/fTools/tools/frmVisual.ui
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<x>0</x>
<y>0</y>
<width>404</width>
<height>485</height>
<height>481</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -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/>
Expand Down

0 comments on commit 787500a

Please sign in to comment.