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 {
|
||||
id: textField
|
||||
persistentSelection: true
|
||||
selectByMouse: true
|
||||
// XXX: QTBUG-64048: mouse right click clears selected text
|
||||
onReleased: textContextMenu.show(event, textField)
|
||||
}
|
||||
|
@ -284,7 +284,6 @@ BasePage {
|
||||
TextFieldFrame {
|
||||
Layout.fillWidth: true
|
||||
text: appPaths[appListView.currentIndex] || ""
|
||||
onReleased: selectAll()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user