Baton_request_dialog - changed handling of transfer queued mesage, still seems to be working incorectly.

This commit is contained in:
2026-03-27 17:06:34 +01:00
parent ad46460e0c
commit 9965ec75e2
+9 -3
View File
@@ -333,9 +333,15 @@ class BatonPendingDialog(QDialog):
def set_queued_state(self):
self._timer.stop()
self.header.setText("⏳ Transfer Queued")
self.message_label.setText("Waiting for current action to finish before receiving baton...")
self.progress.hide()
self.time_label.hide()
self.header.setStyleSheet("color: #FF9800; font-weight: bold; font-size: 14px;")
self.message_label.setText(
"The beamline is currently <b>busy</b>. Your request was accepted and "
"the baton will be transferred as soon as the current operation completes."
)
self.progress.setRange(0, 0) # Indeterminate
self.progress.show()
self.time_label.setText("Waiting for beamline to be idle...")
self.time_label.show()
# Keep cancel button so they can abort the wait if they change their mind
def _on_cancel(self):