We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a66b7a commit ce59e16Copy full SHA for ce59e16
1 file changed
src/EventEdition/RepeatPanel.vala
@@ -752,10 +752,8 @@ public class Maya.View.EventEdition.RepeatPanel : Gtk.Grid {
752
comp.remove_property (remove_prop);
753
}
754
755
- foreach (var child in exceptions_list.get_children ()) {
756
- if (child is ExceptionGrid == false)
757
- continue;
758
- var exgrid = (ExceptionGrid)child;
+ for (int i = 0; exceptions_list.get_row_at_index (i) != null; i++) {
+ var exgrid = (ExceptionGrid) exceptions_list.get_row_at_index (i);
759
var date = exgrid.get_date ();
760
var exdate = new ICal.Property (ICal.PropertyKind.EXDATE_PROPERTY);
761
exdate.set_exdate (Calendar.Util.datetimes_to_icaltime (date, null));
0 commit comments