Don't add the tabbar to the layout twice, or try to remove it twice.
BUG: 258867 svn path=/trunk/KDE/kdelibs/; revision=1212395
This commit is contained in:
parent
244ec458f8
commit
082ddcb95a
@ -561,6 +561,9 @@ void TabBar::setTabBarShown(bool show)
|
|||||||
if (!show && !d->tabWidgetMode) {
|
if (!show && !d->tabWidgetMode) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (d->tabBarShown == show) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
d->tabBarShown = show;
|
d->tabBarShown = show;
|
||||||
|
|
||||||
if (!show) {
|
if (!show) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user