diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-30 00:51:20 -0400 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-30 00:51:20 -0400 |
| commit | f397e691b85c4c090ed9fe3f2e1dad73c24bb73b (patch) | |
| tree | 7352df22df3bd7a6259c8140e93714c042c31a09 /sigmodr/widgets/mapeditor/MapGrid.cpp | |
| parent | 42d73b43e1ded1a5c85fe4161b1efb66dcb973e3 (diff) | |
Wrong order for notifying of changes
Diffstat (limited to 'sigmodr/widgets/mapeditor/MapGrid.cpp')
| -rw-r--r-- | sigmodr/widgets/mapeditor/MapGrid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sigmodr/widgets/mapeditor/MapGrid.cpp b/sigmodr/widgets/mapeditor/MapGrid.cpp index 653fdd89..5f0b3375 100644 --- a/sigmodr/widgets/mapeditor/MapGrid.cpp +++ b/sigmodr/widgets/mapeditor/MapGrid.cpp @@ -64,9 +64,9 @@ void MapGrid::paint(QPainter* painter, const QStyleOptionGraphicsItem* options, void MapGrid::setSize(const int width, const int height) { + prepareGeometryChange(); m_width = width; m_height = height; - prepareGeometryChange(); update(); } |
