andialbrecht / crunchyfrog

Head over to RunSQLRun, the successor of CrunchyFrog
http://runsqlrun.org
GNU General Public License v3.0
4 stars 2 forks source link

Copy results fails after first copy #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Execute some SELECT statement
2. Mark cols or rows and click copy
3. Execute the statement again
4. Try again to mark and copy some data

What is the expected output? What do you see instead?

4) raises the following exception:

Traceback (most recent call last):
  File "/storage/devel/crunchyfrog/cf/ui/widgets/grid.py", line 225, in
on_column_header_clicked
    self.select_column(column, selected)
  File "/storage/devel/crunchyfrog/cf/ui/widgets/grid.py", line 407, in
select_column
    j = self.get_model_index(column)-1
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'

Please use labels and text to provide additional information.

Original issue reported on code.google.com by albrecht.andi on 27 Feb 2009 at 10:51

GoogleCodeExporter commented 9 years ago
r567

Original comment by albrecht.andi on 13 Mar 2009 at 5:40