fix_copy.diff

Alexander Bruy, 2010-04-22 10:40 AM

Download (1.35 KB)

View differences:

python/plugins/fTools/tools/frmVisual.ui (working copy)
10 10
    <x>0</x>
11 11
    <y>0</y>
12 12
    <width>404</width>
13
    <height>485</height>
13
    <height>481</height>
14 14
   </rect>
15 15
  </property>
16 16
  <property name="windowTitle">
......
152 152
     </property>
153 153
    </widget>
154 154
   </item>
155
   <item row="7" column="0">
156
    <widget class="QLabel" name="label_5">
157
     <property name="text">
158
      <string>Press Ctrl+C to copy results to the clipboard</string>
159
     </property>
160
    </widget>
161
   </item>
155 162
  </layout>
156 163
 </widget>
157 164
 <resources/>
python/plugins/fTools/tools/doVisual.py (working copy)
25 25
    Reimplemented key press event:
26 26
    '''
27 27
    if ( e.modifiers() == Qt.ControlModifier or e.modifiers() == Qt.MetaModifier ) and e.key() == Qt.Key_C:
28
      selection = self.lstUnique.selectedItems()
28
      #selection = self.tblUnique.selectedItems()
29 29
      items = QString()
30 30
      if self.myFunction in ( 1, 2 ):
31 31
        for rec in range( self.tblUnique.rowCount() ):