Skip to content

Commit

Permalink
Fixed a bug causing labels to go empty when not being changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
julmb committed Jul 24, 2011
1 parent d3909c4 commit f8af019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Visualizer/Visualizer/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
}
private void streamsList_AfterLabelEdit(object sender, LabelEditEventArgs e)
{
SetName(streamsList.Items[e.Item], e.Label);
if (e.Label != null) SetName(streamsList.Items[e.Item], e.Label);
}
private void streamsContextMenuStrip_Opening(object sender, CancelEventArgs e)
{
Expand Down

0 comments on commit f8af019

Please sign in to comment.