mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Fix Add Remote Dialog allowing empty custom remotes to be added
This commit is contained in:
@@ -108,6 +108,8 @@ class AddRemoteDialog(Adw.Dialog):
|
||||
self.name_row.set_editable(False)
|
||||
self.url_row.set_editable(False)
|
||||
self.apply_button.set_sensitive(True)
|
||||
else:
|
||||
self.apply_button.set_sensitive(False)
|
||||
|
||||
# Connections
|
||||
self.cancel_button.connect("clicked", lambda *_: self.close())
|
||||
|
||||
Reference in New Issue
Block a user