Skip to content
Snippets Groups Projects
Commit 4368b394 authored by Arne Graf's avatar Arne Graf
Browse files

reading Captions for redraw less buggy

parent 63d9a786
No related branches found
No related tags found
No related merge requests found
......@@ -228,7 +228,7 @@ bool GeometryFactory::RefreshView()
//_model.setItem(room.first, 1, roomcaption);
QString roomCaption;
if (room.first>=0)
roomCaption = QString::fromStdString(_geometryFactory[room.first][0]->GetRoomCaption());
roomCaption = QString::fromStdString((_geometryFactory[room.first].begin())->second->GetRoomCaption());
else
roomCaption = "empty";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment