diff --git a/src/widget/form/chatform.cpp b/src/widget/form/chatform.cpp index 62be59ec4..8c7761eec 100644 --- a/src/widget/form/chatform.cpp +++ b/src/widget/form/chatform.cpp @@ -993,6 +993,14 @@ void ChatForm::show(Ui::MainWindow &ui) callConfirm->show(); } +void ChatForm::showEvent(QShowEvent* event) +{ + if (callConfirm) + callConfirm->show(); + + GenericChatForm::showEvent(event); +} + void ChatForm::hideEvent(QHideEvent* event) { if (callConfirm) diff --git a/src/widget/form/chatform.h b/src/widget/form/chatform.h index 4d6650457..6a17578ad 100644 --- a/src/widget/form/chatform.h +++ b/src/widget/form/chatform.h @@ -112,6 +112,7 @@ protected: void dropEvent(QDropEvent* ev); void registerReceipt(int receipt, int messageID, ChatMessage::Ptr msg); virtual void hideEvent(QHideEvent* event); + virtual void showEvent(QShowEvent* event); private: Friend* f;