mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-12 21:35:49 +00:00
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:
@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user