diff --git a/include/ui/profile/dialog_edit_profile.ui b/include/ui/profile/dialog_edit_profile.ui
index 39595cf..5fafe68 100644
--- a/include/ui/profile/dialog_edit_profile.ui
+++ b/include/ui/profile/dialog_edit_profile.ui
@@ -277,23 +277,61 @@
-
-
-
- <html><head/><body><p>Server to Client TCP Brutal Speed</p></body></html>
-
-
- TCP Brutal Speed
-
-
-
- -
-
-
- -
-
-
- Mb/s
-
+
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 2
+
+
-
+
+
+ <html><head/><body><p>Server to Client TCP Brutal Speed</p></body></html>
+
+
+ Brutal Download Speed
+
+
+
+ -
+
+
+ Mb/s
+
+
+
+ -
+
+
+ -
+
+
+ Brutal Upload Speed
+
+
+
+ -
+
+
+ -
+
+
+ Mb/s
+
+
+
+
diff --git a/src/ui/profile/dialog_edit_profile.cpp b/src/ui/profile/dialog_edit_profile.cpp
index 2480c3c..73b6490 100644
--- a/src/ui/profile/dialog_edit_profile.cpp
+++ b/src/ui/profile/dialog_edit_profile.cpp
@@ -342,7 +342,8 @@ void DialogEditProfile::typeSelected(const QString &newType) {
auto mux = ent->outbound->GetMux();
ui->multiplex->setCurrentIndex(mux->getMuxState());
ui->brutal_enable->setChecked(mux->brutal->enabled);
- ui->brutal_speed->setText(Int2String(mux->brutal->down_mbps));
+ ui->brutal_d_speed->setText(Int2String(mux->brutal->down_mbps));
+ ui->brutal_u_speed->setText(Int2String(mux->brutal->up_mbps));
}
// 左边 bean
@@ -457,7 +458,8 @@ bool DialogEditProfile::onEnd() {
auto mux = ent->outbound->GetMux();
mux->saveMuxState(ui->multiplex->currentIndex());
mux->brutal->enabled = ui->brutal_enable->isChecked();
- mux->brutal->down_mbps = ui->brutal_speed->text().toInt();
+ mux->brutal->down_mbps = ui->brutal_d_speed->text().toInt();
+ mux->brutal->up_mbps = ui->brutal_u_speed->text().toInt();
}
return true;