1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 10:32:11 +01:00

Merge branch 'master' of github.com:nowrep/QupZilla

This commit is contained in:
nowrep 2011-12-23 10:24:54 +01:00
commit 9b84036b88

View File

@ -314,7 +314,7 @@ void TabWidget::setTabText(int index, const QString &text)
void TabWidget::closeTab(int index) void TabWidget::closeTab(int index)
{ {
if (count() == 1) { if (count() == 1) {
return; p_QupZilla->close();
} }
if (index == -1) { if (index == -1) {
index = currentIndex(); index = currentIndex();