Allow image drag/drop in communities
This commit is contained in:
parent
3f35bad846
commit
fbbfa30b1b
|
@ -32,6 +32,8 @@ StackLayout {
|
|||
|
||||
property string activeChatId: chatsModel.activeChannel.id
|
||||
property bool isBlocked: profileModel.contacts.isContactBlocked(activeChatId)
|
||||
|
||||
property var input: chatInput
|
||||
|
||||
Component.onCompleted: {
|
||||
chatInput.textInput.forceActiveFocus(Qt.MouseFocusReason)
|
||||
|
|
|
@ -418,7 +418,10 @@ RowLayout {
|
|||
section: Constants.chat
|
||||
doNotHandleClick: true
|
||||
onClicked: {
|
||||
chatsModel.communities.activeCommunity.active = false
|
||||
if (chatsModel.communities.activeCommunity.active) {
|
||||
chatLayoutContainer.chatColumn.input.hideExtendedArea();
|
||||
chatsModel.communities.activeCommunity.active = false
|
||||
}
|
||||
appMain.changeAppSection(Constants.chat)
|
||||
}
|
||||
|
||||
|
|
|
@ -275,7 +275,9 @@ ApplicationWindow {
|
|||
)
|
||||
) ||
|
||||
// in timeline view
|
||||
loader.item.currentView === timelineView
|
||||
loader.item.currentView === timelineView ||
|
||||
// In community section
|
||||
chatsModel.communities.activeCommunity.active
|
||||
)
|
||||
|
||||
width: applicationWindow.width
|
||||
|
|
Loading…
Reference in New Issue