aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
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)