diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2017-11-30 09:25:20 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@qt.io> | 2017-12-01 04:35:27 +0000 |
commit | 959b7c8f0cfda602b1a29a90137d5acb56337473 (patch) | |
tree | 473c84184f3bbdb2b63f9c1b95169a5ad7164c49 /src/Authoring/Studio/style.qss | |
parent | 4afc8a56fd7e650123560f46b8e3a39f3b0be8f0 (diff) |
Don't allow empty file for sub-presentation
If sub-presentation type is presentation, a file must be selected.
Disable "Ok" button if not.
Task-number: QT3DS-400
Change-Id: I925861f20ebf3d18495822e45eded70e8e5e952f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/style.qss')
-rw-r--r-- | src/Authoring/Studio/style.qss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Authoring/Studio/style.qss b/src/Authoring/Studio/style.qss index 28f52c41..2f4dc31e 100644 --- a/src/Authoring/Studio/style.qss +++ b/src/Authoring/Studio/style.qss @@ -298,3 +298,8 @@ QDialog#SubPresentationListDlg QPushButton#SubPresentationListButton { QDialog#SubPresentationListDlg QPushButton#SubPresentationListButton:pressed { background-color: #262829; } + +QDialog#SubPresentationDlg QPushButton:!enabled { + background: transparent; + color: #727476; +} |