You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/qml/value-editor/editors/MultilineEditor.qml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,7 @@ ColumnLayout
112
112
if (qmlUtils.binaryStringLength(root.value) > valueSizeLimit) {
113
113
root.showFormatters=false
114
114
formatterSelector.currentIndex=0
115
+
guessFormatter =false
115
116
} else {
116
117
root.showFormatters=true
117
118
}
@@ -290,7 +291,10 @@ ColumnLayout
290
291
textRole:"name"
291
292
objectName:"rdm_value_editor_formatter_combobox"
292
293
293
-
onCurrentIndexChanged:loadFormattedValue()
294
+
onActivated: {
295
+
currentIndex = index
296
+
loadFormattedValue()
297
+
}
294
298
}
295
299
296
300
Text { visible:!showFormatters &&qmlUtils.binaryStringLength(root.value) > valueSizeLimit; text:qsTranslate("RDM","Large value (>150kB). Formatters is not available."); color:"red"; }
0 commit comments