banshee r4610 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4610 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor
- Date: Wed, 24 Sep 2008 21:48:40 +0000 (UTC)
Author: gburt
Date: Wed Sep 24 21:48:40 2008
New Revision: 4610
URL: http://svn.gnome.org/viewvc/banshee?rev=4610&view=rev
Log:
2008-09-24 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs:
Fix another NRE.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs Wed Sep 24 21:48:40 2008
@@ -549,7 +549,10 @@
// Finally, notify the affected primary sources
foreach (int id in primary_sources) {
- PrimarySource.GetById (id).NotifyTracksChanged ();
+ PrimarySource psrc = PrimarySource.GetById (id);
+ if (psrc != null) {
+ psrc.NotifyTracksChanged ();
+ }
}
} finally {
DatabaseTrackInfo.NotifySaved = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]