From 549f44e3751f0c1075483b2d5d694f4d575c54e1 Mon Sep 17 00:00:00 2001 From: blacksun Date: Wed, 8 May 2013 11:38:31 +0000 Subject: [PATCH] diagramselection, minor bugfix with unselect/selectall contextMenu git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2151 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/ui/diagramselection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/ui/diagramselection.cpp b/sources/ui/diagramselection.cpp index fb222e33d..0c0d331fc 100644 --- a/sources/ui/diagramselection.cpp +++ b/sources/ui/diagramselection.cpp @@ -107,11 +107,11 @@ void diagramselection::on_tableDiagram_customContextMenuRequested(const QPoint & QAction *ret = menu.exec(ui -> tableDiagram -> viewport() -> mapToGlobal(pos)); if (ret == desl) { for(int i=0; i tableDiagram -> rowCount();i++) - ui -> tableDiagram -> item(i, 1)->setCheckState(Qt::Unchecked); + ui -> tableDiagram -> item(i, 0)->setCheckState(Qt::Unchecked); } else{ for(int i=0; i tableDiagram -> rowCount();i++) - ui -> tableDiagram -> item(i, 1)->setCheckState(Qt::Checked); + ui -> tableDiagram -> item(i, 0)->setCheckState(Qt::Checked); } }