connect(m_routeWaypointListView, SIGNAL(routeWaypointItemClicked(GeoCoordinate)),
this, SIGNAL(routeWaypointItemClicked(GeoCoordinate)));
+ connect(m_routeWaypointListView, SIGNAL(listItemSelectionChanged()),
+ this, SLOT(onListItemSelectionChanged()));
+
QVBoxLayout *panelLayout = new QVBoxLayout;
panelLayout->setContentsMargins(PANEL_MARGIN_LEFT, PANEL_MARGIN_TOP,
PANEL_MARGIN_RIGHT, PANEL_MARGIN_BOTTOM);
this, SLOT(clearRouteButtonClicked()));
m_clearRouteButton->setDisabled(true);
- m_contextButtonLayout->addWidget(routeToCursorButton);
- m_contextButtonLayout->addWidget(m_clearRouteButton);
+ m_genericButtonsLayout->addWidget(routeToCursorButton);
+ m_genericButtonsLayout->addWidget(m_clearRouteButton);
}
void RoutingPanel::clearListsSelections()