summaryrefslogtreecommitdiff
path: root/UConfig.pas
diff options
context:
space:
mode:
Diffstat (limited to 'UConfig.pas')
-rw-r--r--UConfig.pas6
1 files changed, 5 insertions, 1 deletions
diff --git a/UConfig.pas b/UConfig.pas
index 08719d8..5deb382 100644
--- a/UConfig.pas
+++ b/UConfig.pas
@@ -81,7 +81,7 @@ var ConfPanelSep, ConfRowHeight, ConfRowHeightReal, ConfNumHistoryItems,
ConfMainWindowLeftSortColumn, ConfMainWindowLeftSortType, ConfMainWindowRightSortColumn, ConfMainWindowRightSortType,
ConfSizeFormat, ConfSizeGroupPrecision, ConfCmdLineTerminalBehaviour, ConfViewerTerminalBehaviour,
ConfEditorTerminalBehaviour, ConfLeftTabBarTabIndex, ConfRightTabBarTabIndex, ConfSwitchOtherPanelBehaviour,
- ConfTabMaxLength, ConfDateFormat, ConfTimeFormat, ConfDateTimeFormat: integer;
+ ConfTabMaxLength, ConfDateFormat, ConfTimeFormat, ConfDateTimeFormat, ConfQuickSearchActivationKey: integer;
ConfLeftPath, ConfRightPath, ConfPanelFont, ConfProfileName, ConfViewer, ConfEditor, ConfTerminalCommand,
ConfNormalItemFGColor, ConfActiveItemFGColor, ConfInactiveItemFGColor, ConfSelectedItemFGColor, ConfLinkItemFGColor,
@@ -242,6 +242,7 @@ begin
ConfDateTimeFormat := 0;
ConfCustomDateFormat := '%x';
ConfCustomTimeFormat := '%X';
+ ConfQuickSearchActivationKey := 0;
// Setup default values for colors
@@ -464,6 +465,8 @@ begin
ConfDateTimeFormat := IniFile.ReadInteger(ConfProfileName, 'DateTimeFormat', ConfDateTimeFormat);
ConfCustomDateFormat := IniFile.ReadString(ConfProfileName, 'CustomDateFormat', ConfCustomDateFormat);
ConfCustomTimeFormat := IniFile.ReadString(ConfProfileName, 'CustomTimeFormat', ConfCustomTimeFormat);
+ ConfQuickSearchActivationKey := IniFile.ReadInteger(ConfProfileName, 'QuickSearchActivationKey', ConfQuickSearchActivationKey);
+
SearchForDefaultApps;
@@ -551,6 +554,7 @@ begin
IniFile.WriteInteger(ConfProfileName, 'DateTimeFormat', ConfDateTimeFormat);
IniFile.WriteString(ConfProfileName, 'CustomDateFormat', ConfCustomDateFormat);
IniFile.WriteString(ConfProfileName, 'CustomTimeFormat', ConfCustomTimeFormat);
+ IniFile.WriteInteger(ConfProfileName, 'QuickSearchActivationKey', ConfQuickSearchActivationKey);
except