[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kst/portto4/kst/src/libkstapp
From:       Barth Netterfield <netterfield () astro ! utoronto ! ca>
Date:       2012-07-11 14:07:34
Message-ID: 20120711140734.41185AC7A9 () svn ! kde ! org
[Download RAW message or body]

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);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic