Crash in account sheets when pressing return #135
Closed
Labels
Comments
(from [5a21c58f1bf3]) [#135 state:fixed] Fixed crash when pressing return in account sheet while having an un-editable node selected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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'
@@@
The text was updated successfully, but these errors were encountered: