chatgui: stage dropped files through the attachment composer
This commit is contained in:
1 parent
7b1143b9d4
commit
0279ed84a9
3 files changed
+134
-27
No files matched your search
@@ -489,6 +489,7 @@ MessageList::MessageList(DbManager* db, AudioRecorder* recorder, QWidget *parent
|
||||
|
||||
m_inputBar = new InputBar(m_emojiPanel, recorder, this);
|
||||
layout->addWidget(m_inputBar);
|
||||
m_inputBar->installFileDropTarget(m_view->viewport());
|
||||
|
||||
connect(m_inputBar, &InputBar::sendMessage, this, [this](const QString &text) {
|
||||
if (m_currentChannelId.isEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user