diff changesetitem.h @ 46:bd3accba9b3f

* Better layout for branches; spline connection paths
author Chris Cannam
date Wed, 10 Nov 2010 17:11:41 +0000
parents bed7ab59f62e
children 3c46b2ac45d3
line wrap: on
line diff
--- a/changesetitem.h	Wed Nov 10 12:44:11 2010 +0000
+++ b/changesetitem.h	Wed Nov 10 17:11:41 2010 +0000
@@ -15,8 +15,8 @@
 
     int column() const { return m_column; }
     int row() const { return m_row; }
-    void setColumn(int c) { m_column = c; }
-    void setRow(int r) { m_row = r; }
+    void setColumn(int c) { m_column = c; setX(c * 100); }
+    void setRow(int r) { m_row = r; setY(r * 100); }
 
 private:
     Changeset *m_changeset;