Skip to content
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

IndexError on file switching [Qt] #393

hsoft opened this issue Jun 8, 2014 · 1 comment

IndexError on file switching [Qt] #393

hsoft opened this issue Jun 8, 2014 · 1 comment


Copy link

@hsoft hsoft commented Jun 8, 2014

Application Name: moneyGuru
Version: 2.7.2

Traceback (most recent call last):
  File "/usr/share/moneyguru/qt/controller/", line 604, in currentTabChanged
  File "/usr/share/moneyguru/qt/controller/", line 437, in _setTabIndex
    pane_type = self.model.pane_type(index)
  File "/usr/share/moneyguru/core/gui/", line 432, in pane_type
    pane = self.panes[index]
IndexError: list index out of range

When changing the opened document under Qt (having a document opened and then opening another one), we get this error when the number of tabs that was last opened in the document being opened is 2 less than the currently opened document.

Steps to reproduce:

  1. Open a document
  2. Have 2 tabs opened
  3. Open another document
  4. Have 4 tabs opened
  5. Open the document from step 1
  6. Crash
@hsoft hsoft added bug labels Jun 8, 2014
hsoft added a commit that referenced this issue Jun 15, 2014
fixes #393
Copy link
Owner Author

@hsoft hsoft commented Oct 19, 2014

Is there some kind of a problem with github's auto-closing of tickets on commit? I thought this was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant