aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-02 22:04:56 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-02 22:04:56 +0000
commit8d12ced94fb17230827649e34cb369e2bb916210 (patch)
tree70f921e0aee307f53734fd750aeb136060bab8e9 /textedit.cpp
parentadded shortcuts for tab-handling and made different bugfixes (diff)
downloadgpg4usb-8d12ced94fb17230827649e34cb369e2bb916210.tar.gz
gpg4usb-8d12ced94fb17230827649e34cb369e2bb916210.zip
set focus to textedit field, when new tab is created
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@423 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 b8d4109..0e666e8 100644
--- a/textedit.cpp
+++ b/textedit.cpp
@@ -222,6 +222,7 @@ void TextEdit::closeTab()
{
removeTab(tabWidget->currentIndex());
}
+
void TextEdit::removeTab(int index)
{
if (tabWidget->count() != 0)