X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/96c548067d0d061d4aacb421b9adeebbb1530fd0..2d829e5da486bb173556ed5a6a9a3ee441d7190b:/demo/src/Vistas/BuscarPrestacion.cs?ds=inline diff --git a/demo/src/Vistas/BuscarPrestacion.cs b/demo/src/Vistas/BuscarPrestacion.cs index 60cf548..93fc2da 100644 --- a/demo/src/Vistas/BuscarPrestacion.cs +++ b/demo/src/Vistas/BuscarPrestacion.cs @@ -65,7 +65,8 @@ public class VBuscarPrestacion public void OnBuscar (object o, EventArgs args) { TreeIter iter; - categoria.GetActiveIter (out iter); + if (categoria.GetActiveIter (out iter) == false) + return; PrestacionesController c = new PrestacionesController ();