Skip to content

Commit 87cda19

Browse files
committed
GNOME - Default to group color on selecting group
1 parent 0f5fb87 commit 87cda19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

NickvisionMoney.GNOME/Views/TransactionDialog.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ private TransactionDialog(Gtk.Builder builder, TransactionDialogController contr
231231
{
232232
_colorDropDown.SetSelected(1);
233233
}
234+
else if (!_colorDropDown.GetVisible())
235+
{
236+
_colorDropDown.SetSelected(0);
237+
}
234238
_colorDropDown.SetVisible(_groupRow.GetSelected() != 0);
235239
if (!_constructing)
236240
{

0 commit comments

Comments
 (0)