aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-04 15:28:36 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-04 15:28:36 +0000
commitc23415208e27e37b9272f9a4f4031d7a7e9d000b (patch)
tree9e8123e258d413158c19feebd937aa09c1e91cb5 /textedit.cpp
parentsome commenting (diff)
downloadgpg4usb-c23415208e27e37b9272f9a4f4031d7a7e9d000b.tar.gz
gpg4usb-c23415208e27e37b9272f9a4f4031d7a7e9d000b.zip
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
Diffstat (limited to 'textedit.cpp')
-rw-r--r--textedit.cpp1
1 files changed, 1 insertions, 0 deletions
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();
}
}