Skip to content

Commit

Permalink
Fix missing argument for NoneableSpinCtrl in manage tag display dialog (
Browse files Browse the repository at this point in the history
  • Loading branch information
floogulinc authored Aug 17, 2024
1 parent 94878a6 commit 16b2250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrus/client/gui/ClientGUITags.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __init__( self, parent: QW.QWidget, tag_autocomplete_options: ClientTagsHand
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.' ) )

#
Expand Down

0 comments on commit 16b2250

Please sign in to comment.