Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Commit 8f8147c

Browse files
xz-devQxQ
authored andcommitted
fix: fix config not load
1 parent fe63eb4 commit 8f8147c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CommandPlugin.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
#include "ui/CommandPluginSettings.hpp"
44
#include "ui/GUIInterface.hpp"
55

6-
bool CommandPlugin::InitializePlugin(const QString &, const QJsonObject &)
6+
bool CommandPlugin::InitializePlugin(const QString &, const QJsonObject &conf)
77
{
8+
Qv2rayInterface::UpdateSettings(conf);
89
CommandPluginInstance = this;
910
eventHandler = std::make_shared<SimpleEventHandler>();
1011
guiInterface = new CommandGUIInterface();

0 commit comments

Comments
 (0)