From 4665cfbb690dda492acf54a2683ace879cbc9553 Mon Sep 17 00:00:00 2001
From: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Date: Sat, 6 Jun 2015 12:24:31 -0300
Subject: [PATCH 2/8] Always fill the fields in LocationInformation Edit
 Widget.

If the current_dive was the same as the dive send to
the LocationInformation widget, we would do nothing,
wich is wrong because we could have filled the information
on an add_dive_site action and then cancelled it, so the
info will stuck there untill we change it.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
---
 qt-ui/locationinformation.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp
index 9f210ce..9b99d5f 100644
--- a/qt-ui/locationinformation.cpp
+++ b/qt-ui/locationinformation.cpp
@@ -34,9 +34,6 @@ void LocationInformationWidget::setCurrentDiveSiteByUuid(uint32_t uuid)
 	if(!currentDs)
 		return;
 
-	if (displayed_dive_site.uuid == currentDs->uuid)
-		return;
-
 	displayed_dive_site = *currentDs;
 
 	if (displayed_dive_site.name)
-- 
2.3.2 (Apple Git-55)

