This commit is contained in:
parhelia512 2025-11-20 02:23:16 +08:00
parent dcc75d3f30
commit d2ea382584
2 changed files with 8 additions and 13 deletions

View File

@ -56,7 +56,7 @@ Various formats are supported, including share links, JSON array of outbounds an
## FAQ
**How does this project differ from the original Nekoray?** <br/>
Nekoray's developer partially abandoned the project on Decemeber of 2023, some minor updates were done recently but the project is now officially archived. This project was meant to continue the way of the original project, with lots of improvements, tons of new features and also, removal of obsolete features and simplifications.
Nekoray's developer partially abandoned the project on December of 2023, some minor updates were done recently but the project is now officially archived. This project was meant to continue the way of the original project, with lots of improvements, tons of new features and also, removal of obsolete features and simplifications.
**Why does my Anti-Virus detect Throne and/or its Core as malware?** <br/>
Throne's built-in update functionallity downloads the new release, removes the old files and replaces them with the new ones, which is quite simliar to what malwares do, remove your files and replace them with an encrypted version of your files.

View File

@ -39,16 +39,7 @@ DialogEditProfile::DialogEditProfile(const QString &_type, int profileOrGroupId,
network_title_base = ui->network_box->title();
connect(ui->network, &QComboBox::currentTextChanged, this, [=,this](const QString &txt) {
ui->network_box->setTitle(network_title_base.arg(txt));
if (txt == "tcp") {
ui->headers->setVisible(false);
ui->headers_l->setVisible(false);
ui->method->setVisible(false);
ui->method_l->setVisible(false);
ui->path->setVisible(true);
ui->path_l->setVisible(true);
ui->host->setVisible(true);
ui->host_l->setVisible(true);
} else if (txt == "grpc") {
if (txt == "grpc") {
ui->headers->setVisible(false);
ui->headers_l->setVisible(false);
ui->method->setVisible(false);
@ -353,7 +344,11 @@ void DialogEditProfile::typeSelected(const QString &newType) {
if (ent->outbound->HasTransport()) {
ui->network_l->setVisible(true);
ui->network->setVisible(true);
ui->network_box->setVisible(true);
if (ui->network->currentText() == "tcp") {
ui->network_box->setVisible(false);
} else {
ui->network_box->setVisible(true);
}
} else {
ui->network_l->setVisible(false);
ui->network->setVisible(false);
@ -382,7 +377,7 @@ void DialogEditProfile::typeSelected(const QString &newType) {
ui->stream_box->setVisible(streamBoxVisible);
auto rightNoBox = (ui->security_box->isHidden() && ui->network_box->isHidden() && ui->tls_camouflage_box->isHidden());
if (rightNoBox && !ui->right_all_w->isHidden()) {
if (rightNoBox && !ent->outbound->HasTLS() && !ent->outbound->HasTransport() && !ui->right_all_w->isHidden()) {
ui->right_all_w->setVisible(false);
}