mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
hopefully fixed CardInfoPopup freeze
This commit is contained in:
parent
04a96be84a
commit
15ca28bf37
3 changed files with 6 additions and 3 deletions
|
|
@ -572,7 +572,8 @@ void MessageLogWidget::mousePressEvent(QMouseEvent *event)
|
|||
|
||||
void MessageLogWidget::mouseReleaseEvent(QMouseEvent *event)
|
||||
{
|
||||
emit deleteCardInfoPopup();
|
||||
if (event->button() == Qt::MidButton)
|
||||
emit deleteCardInfoPopup();
|
||||
|
||||
QTextEdit::mouseReleaseEvent(event);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue