Fixed examples/sidebar bug

This commit is contained in:
Uwe Kindler 2022-03-04 13:43:21 +01:00
parent 931719c474
commit 6a1ea6c7de

View File

@ -43,6 +43,7 @@ MainWindow::MainWindow(QWidget *parent) :
QPlainTextEdit* te = new QPlainTextEdit();
te->setPlaceholderText("Please enter your text here into this QPlainTextEdit...");
DockWidget = new ads::CDockWidget("Editor 1");
DockWidget->setWidget(te);
ui->menuView->addAction(DockWidget->toggleViewAction());
m_DockManager->addDockWidget(ads::BottomDockWidgetArea, DockWidget);
}