mirror of
https://github.com/tnodir/fort
synced 2024-11-15 10:35:10 +00:00
UI: TextField: Enable selection by mouse.
This commit is contained in:
parent
51c2beec63
commit
d890aa2246
@ -4,6 +4,7 @@ import QtQuick.Controls 2.2
|
|||||||
TextField {
|
TextField {
|
||||||
id: textField
|
id: textField
|
||||||
persistentSelection: true
|
persistentSelection: true
|
||||||
|
selectByMouse: true
|
||||||
// XXX: QTBUG-64048: mouse right click clears selected text
|
// XXX: QTBUG-64048: mouse right click clears selected text
|
||||||
onReleased: textContextMenu.show(event, textField)
|
onReleased: textContextMenu.show(event, textField)
|
||||||
}
|
}
|
||||||
|
@ -284,7 +284,6 @@ BasePage {
|
|||||||
TextFieldFrame {
|
TextFieldFrame {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: appPaths[appListView.currentIndex] || ""
|
text: appPaths[appListView.currentIndex] || ""
|
||||||
onReleased: selectAll()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user