Skip to content
Snippets Groups Projects

Bugs-3222

Merged tatiana.novikova requested to merge bugs-3222 into develop
2 files
+ 19
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 12
0
@@ -3,6 +3,18 @@ import QtQuick.Controls 2.0
@@ -3,6 +3,18 @@ import QtQuick.Controls 2.0
DapComboBoxForm
DapComboBoxForm
{
{
 
Component.onCompleted:
 
{
 
if(isDefaultNeedToAppend && model.get(0, comboBoxTextRole[0]) !== mainLineText)
 
{
 
if(comboBoxTextRole[0] === "name")
 
model.insert(0, {name: mainLineText});
 
else if(comboBoxTextRole[0] === "text")
 
model.insert(0, {text: mainLineText});
 
currentIndex = 0;
 
}
 
}
 
delegate:
delegate:
ItemDelegate
ItemDelegate
{
{
Loading