diff --git a/src/widget/contentdialog.cpp b/src/widget/contentdialog.cpp index 6c3075369..44257c175 100644 --- a/src/widget/contentdialog.cpp +++ b/src/widget/contentdialog.cpp @@ -109,6 +109,7 @@ ContentDialog::ContentDialog(QWidget* parent) setMinimumSize(minSize); setAttribute(Qt::WA_DeleteOnClose); + setObjectName("detached"); QByteArray geometry = s.getDialogGeometry(); @@ -121,6 +122,8 @@ ContentDialog::ContentDialog(QWidget* parent) SplitterRestorer restorer(splitter); restorer.restore(s.getDialogSplitterState(), size()); + username = Core::getInstance()->getUsername(); + currentDialog = this; setAcceptDrops(true);