diff --git a/barcode_client.py b/barcode_client.py index 931aed5..799ac46 100644 --- a/barcode_client.py +++ b/barcode_client.py @@ -519,11 +519,12 @@ class BarcodeClientApp: def _on_destination_enter(self, _event=None) -> str: pallet = str(self.scanned_var.get() or "").strip() - destination = str(self.destination_var.get() or "").strip() - if pallet and destination: - self._submit() - else: + if not pallet: self._focus_primary_input() + else: + self.info1_var.set("F3 per associare, F4 per disassociare") + self.status_band.configure(bg=self._status_colors["yellow"]) + self._focus_destination_input() return "break" def _on_unload_key(self, _event=None) -> str: diff --git a/version_info.py b/version_info.py index d88adc3..3401898 100644 --- a/version_info.py +++ b/version_info.py @@ -13,7 +13,7 @@ MODULE_VERSIONS: dict[str, str] = { "async_msssql_query": "1.0.1", "audit_log": "1.0.0", "main": "1.0.1", - "barcode_client": "1.0.25", + "barcode_client": "1.0.26", "barcode_repository": "1.0.12", "barcode_service": "1.0.24", "busy_overlay": "1.0.0",