diff --git a/qml/harbour-seaprint.qml b/qml/harbour-seaprint.qml
index 2b6acc8..7cdb91a 100644
--- a/qml/harbour-seaprint.qml
+++ b/qml/harbour-seaprint.qml
@@ -23,8 +23,10 @@ ApplicationWindow
}
function addFavourite(ssid, url) {
+ if(isFavourite(ssid, url))
+ return;
db_conn.transaction(function (tx) {
- tx.executeSql('REPLACE INTO Favourites VALUES(?, ?)', [ssid, url] );
+ tx.executeSql('INSERT INTO Favourites VALUES(?, ?)', [ssid, url] );
});
}
diff --git a/translations/harbour-seaprint-de.ts b/translations/harbour-seaprint-de.ts
index 48f506c..c438ca4 100644
--- a/translations/harbour-seaprint-de.ts
+++ b/translations/harbour-seaprint-de.ts
@@ -70,7 +70,7 @@
CoverPage
-
+
diff --git a/translations/harbour-seaprint.ts b/translations/harbour-seaprint.ts
index 48f506c..c438ca4 100644
--- a/translations/harbour-seaprint.ts
+++ b/translations/harbour-seaprint.ts
@@ -70,7 +70,7 @@
CoverPage
-
+