Don't dismiss the loading overlay by clicking
This commit is contained in:
parent
72cba5d9eb
commit
48dabdfdc7
3 changed files with 13 additions and 18 deletions
|
|
@ -64,7 +64,7 @@ OverlayModal::paintEvent(QPaintEvent *event)
|
|||
void
|
||||
OverlayModal::mousePressEvent(QMouseEvent *e)
|
||||
{
|
||||
if (content_ && !content_->geometry().contains(e->pos()))
|
||||
if (isDismissible_ && content_ && !content_->geometry().contains(e->pos()))
|
||||
fadeOut();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue