mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-26 01:33:56 +02:00
plugins: not reload when setting preferences
Daemon should handle if reloading is necessary. GitLab: https://git.jami.net/savoirfairelinux/jami-plugins/-/issues/24 Change-Id: Ided267a74c091fb5f93ec11f6a746b5ef241632d
This commit is contained in:
parent
31340bc224
commit
145c1ad1f2
1 changed files with 1 additions and 6 deletions
|
@ -61,12 +61,7 @@ Rectangle {
|
|||
|
||||
function setPreference(pluginId, preferenceKey, preferenceNewValue)
|
||||
{
|
||||
if (isLoaded) {
|
||||
PluginModel.unloadPlugin(pluginId)
|
||||
PluginModel.setPluginPreference(pluginId, accountId, preferenceKey, preferenceNewValue)
|
||||
PluginModel.loadPlugin(pluginId)
|
||||
} else
|
||||
PluginModel.setPluginPreference(pluginId, accountId, preferenceKey, preferenceNewValue)
|
||||
PluginModel.setPluginPreference(pluginId, accountId, preferenceKey, preferenceNewValue)
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
|
|
Loading…
Add table
Reference in a new issue