This commit is contained in:
arm64v8a
2023-04-10 21:47:27 +09:00
parent 1f25b07162
commit 77b9815ef8
5 changed files with 20 additions and 10 deletions

View File

@@ -14,10 +14,9 @@ DialogFirstSetup::~DialogFirstSetup() {
void DialogFirstSetup::onButtonClicked() {
auto s = sender();
if (s == ui->v2ray) {
done(NekoRay::CoreType::V2RAY);
NekoRay::coreType = NekoRay::CoreType::V2RAY;
} else if (s == ui->singbox) {
done(NekoRay::CoreType::SING_BOX);
} else {
done(-1);
NekoRay::coreType = NekoRay::CoreType::SING_BOX;
}
done(0);
}