fix bug when saving tour
This commit is contained in:
parent
9d69811598
commit
7e7b09cef1
@ -223,7 +223,7 @@ namespace Sernatur {
|
||||
try {
|
||||
List<Tour> list = Tour.get_all_tours (conn);
|
||||
list.foreach ((entry) => {
|
||||
if (tour.nombre_tour.down () == entry.nombre_tour.down ()) {
|
||||
if (tour.nombre_tour.down () == entry.nombre_tour.down () && tour.id_tour != entry.id_tour) {
|
||||
var msg = new Gtk.MessageDialog (this,
|
||||
Gtk.DialogFlags.MODAL,
|
||||
Gtk.MessageType.ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user