don't call setCurrentIdex a second time by calling
d->tabProxy->native->setCurrentIndex(index) too early svn path=/trunk/KDE/kdelibs/; revision=905666
This commit is contained in:
parent
35304c269d
commit
a2fe3d80af
@ -288,7 +288,6 @@ void TabBar::setCurrentIndex(int index)
|
||||
return;
|
||||
}
|
||||
|
||||
d->tabProxy->native->setCurrentIndex(index);
|
||||
d->tabWidgetLayout->removeAt(1);
|
||||
|
||||
d->oldPage = d->pages[d->currentIndex];
|
||||
@ -347,6 +346,7 @@ void TabBar::setCurrentIndex(int index)
|
||||
#endif
|
||||
d->currentIndex = index;
|
||||
emit currentChanged(index);
|
||||
d->tabProxy->native->setCurrentIndex(index);
|
||||
}
|
||||
|
||||
int TabBar::count() const
|
||||
|
Loading…
Reference in New Issue
Block a user