From c23415208e27e37b9272f9a4f4031d7a7e9d000b Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 4 Jan 2011 15:28:36 +0000 Subject: after closing a tab, the editor field is still selected git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@431 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- textedit.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'textedit.cpp') diff --git a/textedit.cpp b/textedit.cpp index a908d87..c1cc3d7 100644 --- a/textedit.cpp +++ b/textedit.cpp @@ -208,6 +208,7 @@ void TextEdit::removeTab(int index) curPage()->close(); tabWidget->removeTab(index); + curPage()->getTextPage()->setFocus(); } } -- cgit v1.2.3