You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever we use the CDockManager::addDockWidgetTabToArea() API dynamically after invoking CDockManager::restoreState() we will face a warning related to indices:
void ads::CDockAreaWidget::setCurrentIndex(int) Invalid index
Expected behavior
We should be able to repeatedly Add/Remove dock widgets dynamically after invoking CDockManager::restoreState() on startup or QMainWindow::showEvent()
Description
Whenever we use the
CDockManager::addDockWidgetTabToArea()
API dynamically after invokingCDockManager::restoreState()
we will face a warning related to indices:Expected behavior
We should be able to repeatedly Add/Remove dock widgets dynamically after invoking
CDockManager::restoreState()
on startup orQMainWindow::showEvent()
ADS version
v4.3.1-2-g952131a
Operating System
Debian GNU/Linux 12 (bookworm)
Reproducible Example
mainwindow.h
:mainwindow.cpp
:The text was updated successfully, but these errors were encountered: