mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
fix: Fix wrong usage of cast functions
This commit is contained in:
parent
f039ab5164
commit
188bccde1f
@ -107,7 +107,7 @@ namespace NekoGui {
|
||||
results->error = res->error;
|
||||
return results;
|
||||
}
|
||||
if (item->CustomBean() != nullptr && item->CustomBean()->core == "internal-full") {
|
||||
if (item->type == "custom" && item->CustomBean()->core == "internal-full") {
|
||||
res->coreConfig["inbounds"] = QJsonArray();
|
||||
results->fullConfigs[item->id] = QJsonObject2QString(res->coreConfig, true);
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user