summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Slide
diff options
context:
space:
mode:
authorJanne Kangas <janne.kangas@qt.io>2018-05-15 11:49:01 +0300
committerTomi Korpipää <tomi.korpipaa@qt.io>2018-05-30 05:43:24 +0000
commita28264b8734182049f6d19c83d7613227c68a49f (patch)
tree10f959bd12f62732cf4bed03819f3caf9af040c8 /src/Authoring/Studio/Palettes/Slide
parent59c7138ef169c62a3aeec9ac51cf1b4e31bfa9de (diff)
Bind new datainput directly when added from "Add new datainput"
Binds the newly created datainput directly as controller for slide or timeline, when datainput is created using "Add New Data Input" from datainput selector dialog. Also, use appropriate window titles. Change-Id: I288286d11f8a22f5a4d97183067c8e1412ba6002 Task-Id: QT3DS-1538 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Slide')
-rw-r--r--src/Authoring/Studio/Palettes/Slide/SlideView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Palettes/Slide/SlideView.cpp b/src/Authoring/Studio/Palettes/Slide/SlideView.cpp
index 80f90083..bfcb2505 100644
--- a/src/Authoring/Studio/Palettes/Slide/SlideView.cpp
+++ b/src/Authoring/Studio/Palettes/Slide/SlideView.cpp
@@ -388,7 +388,7 @@ void SlideView::initialize()
engine()->addImportPath(qmlImportPath());
setSource(QUrl("qrc:/Palettes/Slide/SlideView.qml"_L1));
- m_dataInputSelector = new DataInputSelectView(this);
+ m_dataInputSelector = new DataInputSelectView(this, EDataType::DataTypeString);
connect(m_dataInputSelector, &DataInputSelectView::dataInputChanged,
this, &SlideView::onDataInputChange);
}