summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-13 20:16:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-13 20:16:07 +0300
commit21833669fa44e8b8cee8dcb5779e14dc85990221 (patch)
treeb9de25aaf7d0e4f657c34c5766f15f297c290f91 /plugins/QuickSearch/src/main.cpp
parentb378298146b77902d23658624d7cb18edf74d0ae (diff)
fixes #2882 (QuickSearch: wrong default options values)
Diffstat (limited to 'plugins/QuickSearch/src/main.cpp')
-rw-r--r--plugins/QuickSearch/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/QuickSearch/src/main.cpp b/plugins/QuickSearch/src/main.cpp
index fef90535c5..4d20890483 100644
--- a/plugins/QuickSearch/src/main.cpp
+++ b/plugins/QuickSearch/src/main.cpp
@@ -171,7 +171,8 @@ int CMPlugin::Load()
HookEvent(ME_SYSTEM_MODULELOAD, OnCheckPlugins);
HookEvent(ME_SYSTEM_MODULEUNLOAD, OnCheckPlugins);
- LoadColumns(m_columns);
+ if (!LoadColumns(m_columns))
+ LoadDefaultColumns(m_columns);
return 0;
}