mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 04:05:34 +08:00
Not allow clicking connect button if remote id is empty
This commit is contained in:
@@ -445,7 +445,7 @@ int MainWindow::Run() {
|
||||
if ("SignalConnected" == signal_status_str_) {
|
||||
if (connect_button_label_ ==
|
||||
localization::connect[localization_language_index_] &&
|
||||
!connection_established_) {
|
||||
!connection_established_ && strlen(remote_id_)) {
|
||||
if (remote_id_ == local_id_ && !peer_reserved_) {
|
||||
peer_reserved_ = CreatePeer(¶ms_);
|
||||
if (peer_reserved_) {
|
||||
|
||||
Reference in New Issue
Block a user