Add call to raise() in Dialog, Drawer, and SnackBar
This commit is contained in:
parent
29926e62d9
commit
b2088c3420
|
@ -137,6 +137,7 @@ void QtMaterialDialog::showDialog()
|
|||
Q_D(QtMaterialDialog);
|
||||
|
||||
d->stateMachine->postEvent(new QtMaterialStateTransitionEvent(DialogShowTransition));
|
||||
raise();
|
||||
}
|
||||
|
||||
void QtMaterialDialog::hideDialog()
|
||||
|
|
|
@ -70,6 +70,7 @@ void QtMaterialDrawer::openDrawer()
|
|||
Q_D(QtMaterialDrawer);
|
||||
|
||||
emit d->stateMachine->enterOpenedState();
|
||||
raise();
|
||||
}
|
||||
|
||||
void QtMaterialDrawer::closeDrawer()
|
||||
|
|
|
@ -198,6 +198,7 @@ void QtMaterialSnackbar::addMessage(const QString &message)
|
|||
|
||||
d->messages.push_back(message);
|
||||
d->stateMachine->postEvent(new QtMaterialStateTransitionEvent(SnackbarShowTransition));
|
||||
raise();
|
||||
}
|
||||
|
||||
void QtMaterialSnackbar::addInstantMessage(const QString &message)
|
||||
|
|
Loading…
Reference in New Issue