Don't always prefill to the last remote info item

This commit is contained in:
heliguy
2024-07-22 00:23:25 -04:00
parent 64d34c3043
commit 6cfac026a2

View File

@@ -178,5 +178,5 @@ class RemotesPage(Adw.NavigationPage):
# Appply
for item in self.new_remotes:
row = NewRemoteRow(item)
row.connect("activated", lambda *_: AddRemoteDialog(main_window, self, item).present(main_window))
row.connect("activated", lambda *_, remote_info=item: AddRemoteDialog(main_window, self, remote_info).present(main_window))
self.new_remotes_group.add(row)