UI: Warn when closing dock widgets for first time
Users don't realize that dockable windows can be closed (hidden) and can be shown again via the View menu. This adds an explicit warning when the user first closes a dockable window for their first time. In future versions, this should be changed to a dialog box with a "Do not show again" checkbox.
This commit is contained in:
parent
106222154a
commit
4450843aa0
8 changed files with 66 additions and 13 deletions
|
|
@ -216,7 +216,7 @@ OBSBasic::OBSBasic(QWidget *parent)
|
|||
|
||||
startingDockLayout = saveState();
|
||||
|
||||
statsDock = new QDockWidget();
|
||||
statsDock = new OBSDock();
|
||||
statsDock->setObjectName(QStringLiteral("statsDock"));
|
||||
statsDock->setFeatures(QDockWidget::AllDockWidgetFeatures);
|
||||
statsDock->setWindowTitle(QTStr("Basic.Stats"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue