added a warning line in GUI and WEBUI

This commit is contained in:
2026-06-23 18:30:20 +03:00
parent 9d30fab534
commit f967da7f53
2 changed files with 11 additions and 0 deletions
@@ -8,6 +8,7 @@ from PyQt6.QtWidgets import (
QDoubleSpinBox,
QFormLayout,
QGroupBox,
QLabel,
QLineEdit,
QPlainTextEdit,
QSizePolicy,
@@ -200,6 +201,10 @@ def build_processing_group(owner) -> QGroupBox:
split_index=1,
)
owner._gpr_geometry_hint = QLabel("To apply Tx/Rx geometry or permittivity changes: Save Config and restart the app")
owner._gpr_geometry_hint.setWordWrap(True)
owner._gpr_common_page.layout().addWidget(owner._gpr_geometry_hint)
owner._gpr_input_positions_input = QLineEdit(str(gpr_live_defaults.input_positions))
owner._gpr_input_positions_input.setPlaceholderText("0,1,2")
+6
View File
@@ -173,6 +173,12 @@ function buildSettingsForm(schema) {
settingsFields.appendChild(heading);
}
settingsFields.appendChild(makeFieldRow(entry));
if (entry.name === "rx_geometry") {
const note = document.createElement("div");
note.className = "config-active";
note.textContent = "To apply Tx/Rx geometry or permittivity changes: Save Config and restart the app";
settingsFields.appendChild(note);
}
}
formSignature = schema.map((e) => e.name).join(",");
}