diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-13 20:16:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-13 20:16:07 +0300 |
commit | 21833669fa44e8b8cee8dcb5779e14dc85990221 (patch) | |
tree | b9de25aaf7d0e4f657c34c5766f15f297c290f91 /plugins/QuickSearch/src/main.cpp | |
parent | b378298146b77902d23658624d7cb18edf74d0ae (diff) |
fixes #2882 (QuickSearch: wrong default options values)
Diffstat (limited to 'plugins/QuickSearch/src/main.cpp')
-rw-r--r-- | plugins/QuickSearch/src/main.cpp | 3 |
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; } |