Browse Source

fix(chattextedit.cpp): fix drag-and-drop to be consistent across systems

Add explicit setAcceptDrops(false) to allow parent widget to handle
drag-and-drops consistently across various desktop environments.

Closes: #2847
pull/3433/head
Vincas Dargis 9 years ago
parent
commit
70fc247b70
  1. 1
      src/widget/tool/chattextedit.cpp

1
src/widget/tool/chattextedit.cpp

@ -26,6 +26,7 @@ ChatTextEdit::ChatTextEdit(QWidget *parent) : @@ -26,6 +26,7 @@ ChatTextEdit::ChatTextEdit(QWidget *parent) :
{
retranslateUi();
setAcceptRichText(false);
setAcceptDrops(false);
Translator::registerHandler(std::bind(&ChatTextEdit::retranslateUi, this), this);
}

Loading…
Cancel
Save