forked from qt-creator/qt-creator
LuaLC: Register Settings type
Change-Id: I58b3817e83c598b62e0ae5e61c21043d2c3290a7 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -548,6 +548,13 @@ static void registerLuaApi()
|
|||||||
// ... then register the settings.
|
// ... then register the settings.
|
||||||
LanguageClientManager::registerClientSettings(client);
|
LanguageClientManager::registerClientSettings(client);
|
||||||
|
|
||||||
|
// and the client type.
|
||||||
|
ClientType type;
|
||||||
|
type.id = client->m_settingsTypeId;
|
||||||
|
type.name = luaClient->m_name;
|
||||||
|
type.userAddable = false;
|
||||||
|
LanguageClientSettings::registerClientType(type);
|
||||||
|
|
||||||
return luaClient;
|
return luaClient;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user