diff options
Diffstat (limited to 'Stars45/NetAddrDlg.cpp')
-rw-r--r-- | Stars45/NetAddrDlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/NetAddrDlg.cpp b/Stars45/NetAddrDlg.cpp index 29b4227..fde0489 100644 --- a/Stars45/NetAddrDlg.cpp +++ b/Stars45/NetAddrDlg.cpp @@ -130,7 +130,7 @@ NetAddrDlg::OnSave(AWEvent* event) { NetClientConfig* config = NetClientConfig::GetInstance(); - if (config && + if (config && edt_addr && edt_addr->GetText().length() > 0 && edt_port && edt_port->GetText().length() > 0) { |