Changes: added notification for address resolution failure and no route; fixed issue...
[ptas] / zouba / src / uicontroller.cpp
index 962135f..333a1d8 100644 (file)
@@ -126,9 +126,10 @@ void UiController::changeDestination( int id )
   if ( destinationHasChanged ) {
     qDebug() << "Emitting destination changed (" << m_destination[id]->label() << ")";
     emit destinationChanged( m_destination[id] );
+    m_currentDestination = id;
   }
 
-  // always want to emit this so that the gps position is update
+  // always want to emit this so that the gps position is updated
   // and the user gets new information
   emit buttonClicked();
 }