[Kst] branches/work/kst/portto4/kst/src/libkstapp
Barth Netterfield
netterfield at astro.utoronto.ca
Wed Jul 11 14:07:34 UTC 2012
SVN commit 1305296 by netterfield:
Moving view items sets document status to changed.
M +3 -0 viewitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/viewitem.cpp #1305295:1305296
@@ -1307,6 +1307,8 @@
if (dropAction != Qt::MoveAction) {
show();
}
+ kstApp->mainWindow()->document()->setChanged(true);
+
}
void ViewItem::paintChildItems(QPainter &painter) {
@@ -2119,6 +2121,7 @@
view()->setMouseMode(View::Default);
view()->undoStack()->endMacro();
}
+ kstApp->mainWindow()->document()->setChanged(true);
QGraphicsRectItem::mouseReleaseEvent(event);
}
More information about the Kst
mailing list