summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp
index 66db6db..5afc382 100644
--- a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp
+++ b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp
@@ -29,7 +29,9 @@ namespace Swift {
scene = new QGraphicsScene(this);
scene->setSceneRect(0, 0, 400, 400);
-// scene->setItemIndexMethod(QGraphicsScene::NoIndex);
+ //BspTreeIndex is buggy, there are problems after removing items
+ //from scene
+ scene->setItemIndexMethod(QGraphicsScene::NoIndex);
graphicsView = new GView(scene, this);
graphicsView->setMode(GView::Line);