void HandleUpdateThumbnailCommand (object sender, EventArgs args) { ThumbnailCommand command = new ThumbnailCommand (main_window); int [] selected_ids = SelectedIds (); if (command.Execute (SelectedPhotos (selected_ids))) #if MONO_1_9_0 query.MarkChanged (selected_ids, new PhotoChanges {DataChanged = true}); #else { PhotoChanges changes = new PhotoChanges (); changes.DataChanged = true; query.MarkChanged (selected_ids, changes); } #endif }
void HandleUpdateThumbnailCommand(object sender, EventArgs args) { ThumbnailCommand command = new ThumbnailCommand (main_window); int [] selected_ids = SelectedIds (); if (command.Execute (SelectedPhotos (selected_ids))) query.MarkChanged (selected_ids, new PhotoChanges {DataChanged = true}); }
void HandleUpdateThumbnailCommand (object sender, EventArgs args) { ThumbnailCommand command = new ThumbnailCommand (main_window); int[] selected_ids = SelectedIds (); if (command.Execute (SelectedPhotos (selected_ids))) query.MarkChanged (selected_ids, InvalidateData.Instance); }
void HandleUpdateThumbnailCommand (object sende, EventArgs args) { ThumbnailCommand command = new ThumbnailCommand (main_window); int [] selected_ids = SelectedIds (); if (command.Execute (SelectedPhotos (selected_ids))) { foreach (int num in selected_ids) query.MarkChanged (num); } }