Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.3.0
-
None
-
Qt 5.3. All OS environments; tested at least with Windows and Mac
-
7c7e510b6b4fb84d248059b9c55f58490fccc339
Description
Whenever a Tab is removed from a TabView (imagine a browser tab type of implementation), the current index is always removed by one.
This isn't the right behaviour, when compared against any native tab functionalities. The current index should only be reduced when the current index is already at the last index.
Looking at the source code for TabView.qml, this is the code I found (which seems incorrect):
file: C:\Qt\5.3\msvc2012_opengl\qml\QtQuick\Controls\TabView.qml
/*! Removes and destroys a tab at the given \a index. */
function removeTab(index)