From 6a1ea6c7de1946cc5874baa50ca11fe83e111b2e Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Fri, 4 Mar 2022 13:43:21 +0100 Subject: [PATCH] Fixed examples/sidebar bug --- examples/sidebar/MainWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/sidebar/MainWindow.cpp b/examples/sidebar/MainWindow.cpp index 2bf7095..9d93908 100644 --- a/examples/sidebar/MainWindow.cpp +++ b/examples/sidebar/MainWindow.cpp @@ -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); }