Bug fixing

* fix bug with invalid applet and configuration load with newest qt
* fix bug with invalid DP configuration
* fix bug with invalid HTML tags operations
This commit is contained in:
2017-06-02 17:33:02 +03:00
parent 934e30819c
commit 737759d03f
13 changed files with 34 additions and 26 deletions

View File

@ -31,10 +31,10 @@ QtControls.Button {
function updateText() {
// get selected text
var selected = textField.selectedText
var selected = textField.selectedText()
// remove it from widget
textField.remove(textField.selectionStart, textField.selectionEnd)
textField.removeSelection()
// insert edited text
textField.insert(textField.cursorPosition, start + selected + end)
textField.insert(start + selected + end)
}
}