[qet] [2151] diagramselection, minor bugfix with unselect/selectall contextMenu |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2151
Author: blacksun
Date: 2013-05-08 13:38:31 +0200 (Wed, 08 May 2013)
Log Message:
-----------
diagramselection, minor bugfix with unselect/selectall contextMenu
Modified Paths:
--------------
trunk/sources/ui/diagramselection.cpp
Modified: trunk/sources/ui/diagramselection.cpp
===================================================================
--- trunk/sources/ui/diagramselection.cpp 2013-05-08 11:23:47 UTC (rev 2150)
+++ trunk/sources/ui/diagramselection.cpp 2013-05-08 11:38:31 UTC (rev 2151)
@@ -107,11 +107,11 @@
QAction *ret = menu.exec(ui -> tableDiagram -> viewport() -> mapToGlobal(pos));
if (ret == desl) {
for(int i=0; i<ui -> 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<ui -> tableDiagram -> rowCount();i++)
- ui -> tableDiagram -> item(i, 1)->setCheckState(Qt::Checked);
+ ui -> tableDiagram -> item(i, 0)->setCheckState(Qt::Checked);
}
}