mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
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:
1 parent
106222154a
commit
4450843aa0
8 files changed
+66
-13
No files matched your search
@@ -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"));
|
||||
|
||||
Reference in new issue
Block a user