mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
a18dd8a725
commit
b25acd28c0
2 changed files with 4 additions and 3 deletions
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
(in-package :qml-user)
|
||||
|
||||
;;(eval:eval-in-thread "(qml::help)")
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ Rectangle {
|
|||
property string editFrom
|
||||
|
||||
function urlToString(url) {
|
||||
var cut = (Qt.platform.os === "windows") ? "file:/" : "file://"
|
||||
var cut = (Qt.platform.os === "windows") ? "file:///" : "file://"
|
||||
return url.toString().substring(cut.length)
|
||||
}
|
||||
|
||||
|
|
@ -60,7 +60,6 @@ Rectangle {
|
|||
objectName: "path"
|
||||
width: fileBrowser.width
|
||||
inputMethodHints: Qt.ImhNoAutoUppercase | Qt.ImhNoPredictiveText
|
||||
text: urlToString(folderModel.folder)
|
||||
|
||||
onFocusChanged: if (focus) { cursorPosition = length }
|
||||
|
||||
|
|
@ -113,6 +112,8 @@ Rectangle {
|
|||
showHidden: true
|
||||
nameFilters: ["*.lisp", "*.lsp", "*.qml", "*.asd", "*.exp", "*.sexp",
|
||||
"*.fas", "*.fasb", "*.fasc", ".eclrc", ".repl-history"]
|
||||
|
||||
onFolderChanged: path.text = urlToString(folder)
|
||||
}
|
||||
|
||||
Row {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue