When attempting to use the nav_forward button in the UI, the function errors with the following error:
The function errors and does not update the UI, however the UI continues with its main loop. When trying to use the nav_backward button it functions as normal and lets you move backwards in tabs.
Expected Behavior
When clicking the nav_forward button, the UI should advance to the next page.
Steps to Reproduce
Method 1:
Open TagStudio and do not load a library.
Click the nav_forward button.
Method 2:
Load a library.
Click nav_forward.
Logs
Traceback (most recent call last):
File "C:\dev\TagStudio/tagstudio\src\qt\ts_qt.py", line 1008, in nav_forward
self.update_thumbs()
File "C:\dev\TagStudio/tagstudio\src\qt\ts_qt.py", line 1218, in update_thumbs
if i < len(self.nav_frames[self.cur_frame_idx].contents):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: object of type 'bool' has no len()
Checklist
TagStudio Version
Alpha v9.3.2
Operating System & Version
Windows 10
Description
When attempting to use the nav_forward button in the UI, the function errors with the following error:
The function errors and does not update the UI, however the UI continues with its main loop. When trying to use the nav_backward button it functions as normal and lets you move backwards in tabs.
Expected Behavior
When clicking the nav_forward button, the UI should advance to the next page.
Steps to Reproduce
Method 1:
Method 2:
Logs
Traceback (most recent call last): File "C:\dev\TagStudio/tagstudio\src\qt\ts_qt.py", line 1008, in nav_forward self.update_thumbs() File "C:\dev\TagStudio/tagstudio\src\qt\ts_qt.py", line 1218, in update_thumbs if i < len(self.nav_frames[self.cur_frame_idx].contents): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: object of type 'bool' has no len()