From 30f65cc069715e570cc376e0181126e43047cebc Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Tue, 15 Sep 2009 22:39:15 +0100
Subject: Hide the tabset when there are no more open tabs.


diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp
index e73ddab..8e6bea2 100644
--- a/Swift/QtUI/QtChatTabs.cpp
+++ b/Swift/QtUI/QtChatTabs.cpp
@@ -71,6 +71,9 @@ void QtChatTabs::handleTabClosing() {
 		return;
 	}
 	tabs_->removeTab(index);
+	if (tabs_->count() == 0) {
+		hide();
+	}
 }
 
 void QtChatTabs::handleTabCloseRequested(int index) {
-- 
cgit v0.10.2-6-g49f6