From ee2eabd416f835bea1e6734b13bffab937dc08d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Fri, 15 Oct 2010 07:12:49 +0000 Subject: [PATCH] * 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 --- src/frontends/qt4/GuiDelimiter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontends/qt4/GuiDelimiter.cpp b/src/frontends/qt4/GuiDelimiter.cpp index 0327fd4833..2736c2090c 100644 --- a/src/frontends/qt4/GuiDelimiter.cpp +++ b/src/frontends/qt4/GuiDelimiter.cpp @@ -173,6 +173,9 @@ GuiDelimiter::GuiDelimiter(GuiView & lv) leftLW->setViewMode(QListView::IconMode); rightLW->setViewMode(QListView::IconMode); + leftLW->setDragDropMode(QAbstractItemView::NoDragDrop); + rightLW->setDragDropMode(QAbstractItemView::NoDragDrop); + initMathSymbols(); typedef map ListItems;