From 16b22502c62fc9788cd5e0179d25a85060938026 Mon Sep 17 00:00:00 2001 From: Paul Friederichsen Date: Sat, 17 Aug 2024 12:45:23 -0500 Subject: [PATCH] Fix missing argument for NoneableSpinCtrl in manage tag display dialog (#1584) --- hydrus/client/gui/ClientGUITags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydrus/client/gui/ClientGUITags.py b/hydrus/client/gui/ClientGUITags.py index d9c6de2d..15d4fb23 100644 --- a/hydrus/client/gui/ClientGUITags.py +++ b/hydrus/client/gui/ClientGUITags.py @@ -168,7 +168,7 @@ class EditTagAutocompleteOptionsPanel( ClientGUIScrolledPanels.EditPanel ): self._fetch_results_automatically = QW.QCheckBox( self ) self._fetch_results_automatically.setToolTip( ClientGUIFunctions.WrapToolTip( 'If on, results will load as you type. If off, you will have to hit a shortcut (default Ctrl+Space) to load results.' ) ) - self._exact_match_character_threshold = ClientGUICommon.NoneableSpinCtrl( self, none_phrase = 'always autocomplete (only appropriate for small tag services)', min = 1, max = 256, unit = 'characters' ) + self._exact_match_character_threshold = ClientGUICommon.NoneableSpinCtrl( self, 2, none_phrase = 'always autocomplete (only appropriate for small tag services)', min = 1, max = 256, unit = 'characters' ) self._exact_match_character_threshold.setToolTip( ClientGUIFunctions.WrapToolTip( 'When the search text has <= this many characters, autocomplete will not occur and you will only get results that exactly match the input. Increasing this value makes autocomplete snappier but reduces the number of results.' ) ) #