mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 18:15:45 +08:00
Update manualtab.py
This commit is contained in:
parent
08b1656ad5
commit
30ee6ea7dc
@ -99,6 +99,7 @@ class ManualGatherTab(GatherTab):
|
||||
self._party_edit_name_text: bui.Widget | None = None
|
||||
self._party_edit_addr_text: bui.Widget | None = None
|
||||
self._party_edit_port_text: bui.Widget | None = None
|
||||
self._no_parties_added_text: bui.Widget | None = None
|
||||
|
||||
def on_activate(
|
||||
self,
|
||||
@ -834,7 +835,10 @@ class ManualGatherTab(GatherTab):
|
||||
config.commit()
|
||||
bui.getsound('gunCocking').play()
|
||||
else:
|
||||
bui.screenmessage('Invalid Address', color=(1, 0, 0))
|
||||
bui.screenmessage(
|
||||
bui.Lstr(resource='internal.invalidAddressErrorText'),
|
||||
color=(1, 0, 0),
|
||||
)
|
||||
bui.getsound('error').play()
|
||||
|
||||
def _host_lookup_result(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user