When new item added or edited by dialog cdscene notified to be changed
git-svn-id: https://svn.code.sf.net/p/qlscribe/svn/trunk@27 cac9541e-1b8d-4bfa-827e-589bba606050
This commit is contained in:
@@ -16,9 +16,10 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
$Id:$ */
|
||||
$Id$ */
|
||||
|
||||
#include "qshapefactory.h"
|
||||
#include "qcdscene.h"
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include <QMessageBox>
|
||||
@@ -43,6 +44,10 @@ bool QShapeController::edit( QGraphicsItem *item, QWidget *parent ) const
|
||||
throw;
|
||||
}
|
||||
delete dialog;
|
||||
|
||||
if( rez && item->scene() )
|
||||
static_cast< QCDScene * >( item->scene() )->setChanged();
|
||||
|
||||
return rez;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user