Fix crash when trying to edit your message on a wide screen
This only seems to happen when the window is maximized, specifically the height of the window. This seems to be a weird TextArea issue (or something else in our TimelineView) but until that's found out, a Qt.callLater will prevent this annoying crash. BUG: 503846
This commit is contained in:
@@ -56,7 +56,10 @@ QQC2.Control {
|
||||
|
||||
QQC2.TextArea {
|
||||
id: textArea
|
||||
Component.onCompleted: _private.updateText()
|
||||
|
||||
// Work around for BUG: 503846
|
||||
// Seems to crash when we try to access textArea's text here. Even though we add a slight delay it's still instantaneous in the UI.
|
||||
Component.onCompleted: Qt.callLater(() => _private.updateText())
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user