summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_dialogs.cpp')
-rw-r--r--protocols/Skype/src/skype_dialogs.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp
index f6b6740ff7..2327d2e4ce 100644
--- a/protocols/Skype/src/skype_dialogs.cpp
+++ b/protocols/Skype/src/skype_dialogs.cpp
@@ -681,9 +681,11 @@ INT_PTR CALLBACK CSkypeProto::InviteToChatProc(HWND hwndDlg, UINT msg, WPARAM wP
status);
}
}
+ if (chatID)
+ EndDialog(hwndDlg, IDOK);
+ else
+ param->ppro->ShowNotification(TranslateT("You did not select any contact"));
}
-
- EndDialog(hwndDlg, IDOK);
break;
case IDCANCEL: