Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Commit 20bafc7

Browse files
committed
fix: load the UI even if plugin file is missing but it's in config
1 parent 129f19b commit 20bafc7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sources/integrations/integrations.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ void Integrations::load() {
123123
obj = getPlugin(iter.key());
124124
}
125125

126+
// if the plugin is the config, but not in the plugins directory
127+
if (obj == nullptr) {
128+
m_integrationsToLoad--;
129+
}
130+
126131
// push the config to the integration
127132
QVariantMap map = iter.value().toMap();
128133
map.insert(Config::KEY_TYPE, iter.key());

0 commit comments

Comments
 (0)