mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 23:59:18 +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_name_text: bui.Widget | None = None
|
||||||
self._party_edit_addr_text: bui.Widget | None = None
|
self._party_edit_addr_text: bui.Widget | None = None
|
||||||
self._party_edit_port_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(
|
def on_activate(
|
||||||
self,
|
self,
|
||||||
@ -834,7 +835,10 @@ class ManualGatherTab(GatherTab):
|
|||||||
config.commit()
|
config.commit()
|
||||||
bui.getsound('gunCocking').play()
|
bui.getsound('gunCocking').play()
|
||||||
else:
|
else:
|
||||||
bui.screenmessage('Invalid Address', color=(1, 0, 0))
|
bui.screenmessage(
|
||||||
|
bui.Lstr(resource='internal.invalidAddressErrorText'),
|
||||||
|
color=(1, 0, 0),
|
||||||
|
)
|
||||||
bui.getsound('error').play()
|
bui.getsound('error').play()
|
||||||
|
|
||||||
def _host_lookup_result(
|
def _host_lookup_result(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user