#135 ✓fixed
Virgil Dupras

Crash in account sheets when pressing return

Reported by Virgil Dupras | February 15th, 2010 @ 02:38 PM

In Qt, pressing return while the selection is on one of the core type nodes results in this crash:

Application Name: moneyGuru
Version: 1.7.6

Traceback (most recent call last):
  File "/Users/hsoft/src/moneyguru/qt/support/item_view.py", line 157, in keyPressEvent
    self._handleKeyPressEvent(event, QTreeView.keyPressEvent)
  File "/Users/hsoft/src/moneyguru/qt/support/item_view.py", line 104, in _handleKeyPressEvent
    self.editSelected()
  File "/Users/hsoft/src/moneyguru/qt/support/item_view.py", line 127, in editSelected
    self.setCurrentIndex(editableIndex)
TypeError: QAbstractItemView.setCurrentIndex(QModelIndex): argument 1 has unexpected type 'NoneType'

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages