summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/CustomizeToolbar.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/CustomizeToolbar.pas')
-rw-r--r--plugins/HistoryPlusPlus/CustomizeToolbar.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryPlusPlus/CustomizeToolbar.pas b/plugins/HistoryPlusPlus/CustomizeToolbar.pas
index 3294a99d32..24bea5ae1e 100644
--- a/plugins/HistoryPlusPlus/CustomizeToolbar.pas
+++ b/plugins/HistoryPlusPlus/CustomizeToolbar.pas
@@ -335,7 +335,7 @@ begin
if ToolbarStr = '' then
ToolbarStr := DEF_HISTORY_TOOLBAR;
if ToolbarStr = DEF_HISTORY_TOOLBAR then
- DBDeleteContactSetting(0, hppDBName, 'HistoryToolbar')
+ db_unset(0, hppDBName, 'HistoryToolbar')
else
WriteDBStr(hppDBName, 'HistoryToolbar', ToolbarStr);
end;
@@ -557,7 +557,7 @@ end;
procedure TfmCustomizeToolbar.bnResetClick(Sender: TObject);
begin
- DBDeleteContactSetting(0, hppDBName, 'HistoryToolbar');
+ db_unset(0, hppDBName, 'HistoryToolbar');
NotifyAllForms(HM_NOTF_TOOLBARCHANGED, 0, 0);
FillButtons;
UpdateControlButtons;