Skip to content

Commit

Permalink
GNOME - Fix Crash When Adding Transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Feb 22, 2023
1 parent 7646e9d commit f402191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NickvisionMoney.GNOME/Controls/GroupRow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ public void UpdateRow(Group group, CultureInfo cultureAmount, CultureInfo cultur
_lblAmount.AddCssClass(group.Balance >= 0 ? "denaro-income" : "denaro-expense");
if (group.Id == 0)
{
_flowBox.Remove(_flowBox.GetChildAtIndex(1));
_btnEdit.SetVisible(false);
_btnDelete.SetVisible(false);
_flowBox.SetValign(Gtk.Align.Center);
}
}
Expand Down

0 comments on commit f402191

Please sign in to comment.