mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Merge pull request #2471 from pypeclub/bugfix/tvpaint_dialog_in_back
TVPaint: Create render layer dialog is in front
This commit is contained in:
commit
2d1dd7ee04
1 changed files with 5 additions and 0 deletions
|
|
@ -197,6 +197,7 @@ class CreateRenderlayer(plugin.Creator):
|
|||
)
|
||||
|
||||
def _ask_user_subset_override(self, instance):
|
||||
from Qt import QtCore
|
||||
from Qt.QtWidgets import QMessageBox
|
||||
|
||||
title = "Subset \"{}\" already exist".format(instance["subset"])
|
||||
|
|
@ -206,6 +207,10 @@ class CreateRenderlayer(plugin.Creator):
|
|||
).format(instance["subset"])
|
||||
|
||||
dialog = QMessageBox()
|
||||
dialog.setWindowFlags(
|
||||
dialog.windowFlags()
|
||||
| QtCore.Qt.WindowStaysOnTopHint
|
||||
)
|
||||
dialog.setWindowTitle(title)
|
||||
dialog.setText(text)
|
||||
dialog.setStandardButtons(QMessageBox.Yes | QMessageBox.No)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue