From 200d49045dfd1edcd295239c6c7d7c57cf8f9ed8 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Fri, 25 Oct 2019 16:46:18 +0200 Subject: [PATCH] ssearch history size: default to -1, not 0 (the latter disables history) --- src/qtgui/guiutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtgui/guiutils.cpp b/src/qtgui/guiutils.cpp index e27ebed2..438476bb 100644 --- a/src/qtgui/guiutils.cpp +++ b/src/qtgui/guiutils.cpp @@ -137,7 +137,7 @@ void rwSettings(bool writing) SETTING_RW(prefs.ssearchAutoPhraseThreshPC, "/Recoll/prefs/ssearchAutoPhraseThreshPC", Double, 2.0); SETTING_RW(prefs.respagesize, "/Recoll/prefs/reslist/pagelen", Int, 8); - SETTING_RW(prefs.historysize, "/Recoll/prefs/historysize", Int, 0); + SETTING_RW(prefs.historysize, "/Recoll/prefs/historysize", Int, -1); SETTING_RW(prefs.collapseDuplicates, "/Recoll/prefs/reslist/collapseDuplicates", Bool, false); SETTING_RW(prefs.showResultsAsTable,