Skip to content

Commit f1a1845

Browse files
authored
Merge pull request #73 from BCLab-UNM/hotfix-forward-info-from-popout-mapframe
Bug fix: infolog messages from popout map not displayed
2 parents 07af97d + 5825d07 commit f1a1845

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rqt_rover_gui/src/MapFrame.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ void MapFrame::createPopoutWindow( MapData * map_data )
7373
popout_window->setCentralWidget(central_widget);
7474

7575
connect(this, SIGNAL(delayedUpdate()), popout_mapframe, SLOT(update()), Qt::QueuedConnection);
76+
77+
// Forward info messages from the popout framt to the rover gui via the signal in this parent map frame
78+
connect(popout_mapframe, SIGNAL(sendInfoLogMessage(QString)), this, SIGNAL(sendInfoLogMessage(QString)));
7679
}
7780

7881
void MapFrame::paintEvent(QPaintEvent* event) {
@@ -880,7 +883,6 @@ void MapFrame::receiveCurrentRoverName( QString rover_name )
880883
this->rover_currently_selected = rover_name.toStdString();
881884
}
882885

883-
884886
MapFrame::~MapFrame()
885887
{
886888
// Safely erase map data - locks to make sure a frame isnt being drawn

0 commit comments

Comments
 (0)