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
-
Virgil Dupras February 16th, 2010 @ 10:35 AM
- Assigned user set to Virgil Dupras
-
Virgil Dupras February 16th, 2010 @ 10:59 AM
- State changed from accepted to fixed
(from [5a21c58f1bf3]) [#135 state:fixed] Fixed crash when pressing return in account sheet while having an un-editable node selected. http://bitbucket.org/hsoft/moneyguru/changeset/5a21c58f1bf3/
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 135 Crash in account sheets when pressing return (from [5a21c58f1bf3]) [#135 state:fixed] Fixed crash when...