From 9c3118a896c7a2ad96906291108e5d6b2c638789 Mon Sep 17 00:00:00 2001 From: marian Date: Mon, 7 Nov 2011 13:05:50 +0000 Subject: [PATCH] Remove account login failure notification when presenting the credentials dialog. git-svn-id: http://yate.null.ro/svn/yate/trunk@4681 acf43c95-373e-0410-b603-e72c3f656dc1 --- engine/ClientLogic.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/ClientLogic.cpp b/engine/ClientLogic.cpp index f14893a3..507730b3 100644 --- a/engine/ClientLogic.cpp +++ b/engine/ClientLogic.cpp @@ -6010,6 +6010,10 @@ bool DefaultLogic::handleUserNotify(Message& msg, bool& stopLogic) upd->addParam("active:messages_acc_edit",ok); showNotificationArea(true,Client::self()->getWindow(s_wndMain),&rows); } + else { + // Remove account failure notification if still there + removeNotifArea(YSTRING("loginfail"),account); + } } if (msg.getBoolValue(YSTRING("autorestart"))) stat = ClientResource::Connecting;