Fixed wrong current index when removing a widget from CDockAreaLayout
This commit is contained in:
@@ -11,6 +11,7 @@ int main(int argc, char *argv[])
|
||||
QMainWindow w;
|
||||
|
||||
ads::CDockManager::setConfigFlag(ads::CDockManager::FocusHighlighting, true);
|
||||
ads::CDockManager::setConfigFlag(ads::CDockManager::AllTabsHaveCloseButton, true);
|
||||
auto dockManager = new ads::CDockManager(&w);
|
||||
|
||||
QAction *action = new QAction("New Delete On Close", &w);
|
||||
|
||||
Reference in New Issue
Block a user