inserted the model into the widget

This commit is contained in:
csoler 2019-02-08 15:41:20 +01:00
parent 4fce5d61cc
commit b7c8c16e29
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
6 changed files with 214 additions and 35 deletions

View file

@ -108,7 +108,7 @@ MessageWidget *MessageWidget::openMsg(const std::string &msgId, bool window)
msgWidget->isWindow = window;
msgWidget->fill(msgId);
if (parent) {
if (parent) {
parent->addWidget(msgWidget);
}