Skip to content

Commit

Permalink
Merge pull request visualfc#394 from oneplus1000/master
Browse files Browse the repository at this point in the history
fixed: Drag the file into the editor, but not open file.
  • Loading branch information
visualfc committed Feb 25, 2015
2 parents dce5883 + ec63cf7 commit d68137e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions liteidex/src/plugins/liteeditor/liteeditorwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ LiteEditorWidget::LiteEditorWidget(LiteApi::IApplication *app, QWidget *parent)
m_scrollWheelZooming(true),
m_bSpellCheckZoneDontComplete(false)
{
setAcceptDrops(false);
this->m_averageCharWidth = QFontMetrics(this->font()).averageCharWidth();
}

Expand Down

0 comments on commit d68137e

Please sign in to comment.