From cdcfb07b963cc844f78db0015c0d51298dd8bc90 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 8 Aug 2011 18:14:23 +0000 Subject: changed removeNoteByClassname to hideNoteByClassname since remove doesn't work git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@509 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpgwin.cpp') diff --git a/gpgwin.cpp b/gpgwin.cpp index 226f71b..494b622 100644 --- a/gpgwin.cpp +++ b/gpgwin.cpp @@ -732,6 +732,7 @@ void GpgWin::verify() int textIsSigned = isSigned(text); gpgme_signature_t sign = mCtx->verify(text); + edit->curPage()->hideNoteByClass("verifyNotification"); if (sign == NULL) { return; @@ -777,7 +778,6 @@ void GpgWin::verify() verifyLabelText.remove(verifyLabelText.length()-1,1); vn->setVerifyLabel(verifyLabelText); - edit->curPage()->removeNoteByClass("verifyNotification"); edit->curPage()->showNotificationWidget(vn, "verifyNotification"); } -- cgit