]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/movetool.cpp
Add a shortcut for getting the gauge of a TrackType
[r2c2.git] / source / designer / movetool.cpp
index 57f6216507e63c55a3d2157eaf519d6877b3f6ef..e0338273435d7069a772debb9f536ddecc9f3721 100644 (file)
@@ -68,5 +68,5 @@ MoveTool::Boundary::Boundary(MObject *o, unsigned i):
        limit(-1)
 {
        if(Track *track = dynamic_cast<Track *>(object->object))
-               limit = track->get_type().get_appearance().get_gauge();
+               limit = track->get_type().get_gauge();
 }