Obbliga conferma movimenti barcode con tasti funzione
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user