FIX: the n value is not correct when set pa cali value

If it is manual, set it to 0, if it is automatic, use the calibrated value

Change-Id: I7c8737366e0ec0c6c2c17a7ad905cfb34e236fd8
(cherry picked from commit b235b0c8b79b1baf6a393ccfea236e1e650dcb7d)
(cherry picked from commit 298f7b6b9349fdf7fe7f9092e3012188d27b9bf2)
This commit is contained in:
zhimin.zeng authored and lane.wei committed 2023-08-04 18:15:25 +08:00
1 parent 4eb1edea13
commit cefd9876fc
6 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -295,7 +295,7 @@ void HistoryWindow::sync_history_data() {
name_value->SetLabel(from_u8(new_result.name));
new_result.tray_id = -1;
CalibUtils::set_PA_calib_result({ new_result });
CalibUtils::set_PA_calib_result({ new_result }, true);
enbale_action_buttons(false);
}