KDAB / KDDockWidgets

KDAB's Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets
Other
755 stars 164 forks source link

Incorrect tabs closing after reordering #406

Closed massp closed 11 months ago

massp commented 11 months ago

Description

Reordering a tab and then closing it causes other tabs to close as well.

Environment

Steps

  1. Launch the qtwidgets_dockwidgets example with the following options: qtwidgets_dockwidgets -r -c
  2. Reorder the DockWidget #3 tab, moving it after DockWidget #5
  3. Close DockWidget #3

bug_0

Expected

Only the DockWidget #3 tab should be closed.

Actual

Both DockWidget #3 and DockWidget #5 tabs are closed.