X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Ftrackproperties.cpp;fp=source%2Fdesigner%2Ftrackproperties.cpp;h=cdb5cb0855b5b62a3c1e37eb0b013b040c1d5b89;hb=c06f3dde10411cd34aae026d8bf22b7771bdc3e0;hp=8d21bfc36ad9ba923967f76263b2b89354a94785;hpb=621c5c938d70ba0d155e0eda91a708db0a52c0dc;p=r2c2.git diff --git a/source/designer/trackproperties.cpp b/source/designer/trackproperties.cpp index 8d21bfc..cdb5cb0 100644 --- a/source/designer/trackproperties.cpp +++ b/source/designer/trackproperties.cpp @@ -43,7 +43,7 @@ TrackProperties::TrackProperties(const Selection &s): if(selection.size()==1) { if(unsigned tid = selection.get_track()->get_turnout_id()) - ent_turnout_id->set_text(lexical_cast(tid)); + ent_turnout_id->set_text(lexical_cast(tid)); } const set &tracks = selection.get_tracks(); @@ -60,7 +60,7 @@ TrackProperties::TrackProperties(const Selection &s): } if(sensor_id>=0) - ent_sensor_id->set_text(lexical_cast(sensor_id)); + ent_sensor_id->set_text(lexical_cast(sensor_id)); } void TrackProperties::on_response(int code)