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:
commit
9b84036b88
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user