* GuiDelimiter.cpp: disable cut and paste inside the listviews (bug 6942).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35654 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-10-15 07:12:49 +00:00
parent ee7dd4a11e
commit ee2eabd416

View File

@ -173,6 +173,9 @@ GuiDelimiter::GuiDelimiter(GuiView & lv)
leftLW->setViewMode(QListView::IconMode); leftLW->setViewMode(QListView::IconMode);
rightLW->setViewMode(QListView::IconMode); rightLW->setViewMode(QListView::IconMode);
leftLW->setDragDropMode(QAbstractItemView::NoDragDrop);
rightLW->setDragDropMode(QAbstractItemView::NoDragDrop);
initMathSymbols(); initMathSymbols();
typedef map<char_type, QListWidgetItem *> ListItems; typedef map<char_type, QListWidgetItem *> ListItems;