Move the remaining functionality of ChatDocumentHandler to ChatTextItemHelper or split into own objects
This commit is contained in:
@@ -22,7 +22,6 @@ QQC2.ToolBar {
|
||||
property LibNeoChat.ChatBarCache chatBarCache
|
||||
|
||||
required property MessageContent.ChatBarMessageContentModel contentModel
|
||||
readonly property LibNeoChat.ChatDocumentHandler focusedDocumentHandler: contentModel.focusedDocumentHandler
|
||||
|
||||
Connections {
|
||||
target: contentModel
|
||||
@@ -65,7 +64,7 @@ QQC2.ToolBar {
|
||||
3
|
||||
|
||||
readonly property ChatButtonHelper chatButtonHelper: ChatButtonHelper {
|
||||
textItem: contentModel.currentTextItem
|
||||
textItem: contentModel.focusedTextItem
|
||||
}
|
||||
|
||||
signal clicked
|
||||
|
||||
Reference in New Issue
Block a user