Used object initializers

This commit is contained in:
Flamefire committed 2013-04-23 22:11:32 +02:00
1 parent 477b023520
commit b8fe334153
47 files changed
+289 -515

No files matched your search

+1 -2
View File
@@ -678,8 +678,7 @@ namespace VocaluxeLib.Menu.SingNotes
if (lineIndex < 0)
{
//Note is before ALL lines
CLine line = new CLine();
line.StartBeat = note.StartBeat;
CLine line = new CLine {StartBeat = note.StartBeat};
line.AddNote(note);
_Lines.Insert(0, line);
}