fixed tab name sometimes not changing

This commit is contained in:
fourtf
2018-06-01 16:01:49 +02:00
parent 9e36af26fa
commit 04b7cc5ce8
6 changed files with 64 additions and 44 deletions
+1 -5
View File
@@ -506,10 +506,6 @@ void SplitContainer::refreshTabTitle()
return;
}
if (!this->tab->useDefaultTitle) {
return;
}
QString newTitle = "";
bool first = true;
@@ -531,7 +527,7 @@ void SplitContainer::refreshTabTitle()
newTitle = "empty";
}
this->tab->setTitle(newTitle);
this->tab->setDefaultTitle(newTitle);
}
int SplitContainer::getSplitCount()