Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Qt Creator 4.2.0-beta1
-
macOS 10.10, QC 4.2 snapshot based on Qt5.7.1
Description
Steps to reproduce:
- create Quick Application from template (I've unchecked 'with ui.qml file')
- switch to Designer
- inside the 'Connections' widget choose Backends, click on the '+' button
- a dialog comes up with an empty combobox (Type)
- click OK
Current result:
- on the cmdline you get
SOFT ASSERT: "false" in file /work/build/qt-creator/src/plugins/qmldesigner/qmldesignerextension/connectioneditor/backendmodel.cpp, line 234
I'd say just turn the soft assert into a valid if clause instead OR ensure that 'OK' can only get clicked if the combobox has a selected item.
Attachments
For Gerrit Dashboard: QTCREATORBUG-17179 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
175000,3 | QmlDesigner: If no types are available the dialog is implicitly canceled | 4.2 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |