We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f51e6 commit fcba797Copy full SHA for fcba797
image-tagging-gui/widgets/main_window.py
@@ -223,7 +223,7 @@ def clear_image_list_filter(self):
223
self.all_tags_editor.all_tags_list.setCurrentIndex(QModelIndex())
224
self.proxy_image_list_model.setFilterRegularExpression('')
225
# Select the previously selected image in the unfiltered image list.
226
- select_index = int(self.settings.value('image_index'))
+ select_index = int(self.settings.value('image_index') or 0)
227
self.image_list.list_view.setCurrentIndex(
228
self.proxy_image_list_model.index(select_index, 0))
229
0 commit comments