mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fixed issue with clicking on PM bubbles
Previously would not open the client if the window was minimized. Added the same popup fix for mentions
This commit is contained in:
parent
c07ec9aa23
commit
6b307469fe
9 changed files with 22 additions and 5 deletions
|
|
@ -275,8 +275,7 @@ void ChatView::actMessageClicked() {
|
|||
}
|
||||
|
||||
bool ChatView::shouldShowSystemPopup() {
|
||||
return tabSupervisor->currentIndex() != tabSupervisor->indexOf(this) ||
|
||||
QApplication::activeWindow() == 0 || QApplication::focusWidget() == 0;
|
||||
return QApplication::activeWindow() == 0 || QApplication::focusWidget() == 0 ||tabSupervisor->currentIndex() != tabSupervisor->indexOf(this);
|
||||
}
|
||||
|
||||
void ChatView::showSystemPopup(QString &sender) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue