mirror of
https://github.com/redis/RedisDesktopManager.git
synced 2026-10-29 03:27:04 +08:00
Fix #3896: Value field is editable when row is not selected
This commit is contained in:
@@ -358,6 +358,7 @@ Repeater {
|
||||
column.visible = true
|
||||
column.resizeToContents()
|
||||
}
|
||||
valueEditor.clear()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -612,6 +613,8 @@ Repeater {
|
||||
valueEditor.item.reset()
|
||||
}
|
||||
}
|
||||
|
||||
onLoaded: clear()
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
|
||||
@@ -144,6 +144,7 @@ ColumnLayout
|
||||
|
||||
TextArea {
|
||||
id: textArea
|
||||
enabled: root.enabled
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.preferredHeight: 100
|
||||
|
||||
@@ -74,6 +74,7 @@ AbstractEditor {
|
||||
}
|
||||
|
||||
function reset() {
|
||||
root.active = false
|
||||
scoreText.reset()
|
||||
textArea.reset()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user