New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in account sheets when pressing return #135

Closed
hsoft opened this Issue Jun 22, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@hsoft
Owner

hsoft commented Jun 22, 2013

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'
@@@

@hsoft hsoft closed this Jun 22, 2013

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

(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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment