Skip to content

Commit

Permalink
Namecoin: Enable editing IMPORT records in DNS dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Dec 12, 2019
1 parent babbe56 commit ae7438a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions electrum_nmc/electrum/gui/qt/configure_dns_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,15 @@ def edit_selected_record(self):
self.ui.editSRVHost.setText(host)

self.force_one_tab(self.ui.tabSRV)
elif record_type == "import":
imported_name, imported_subdomain = record_data

self.ui.editIMPORTName.setText(imported_name)
self.ui.editIMPORTSubdomain.setText(imported_subdomain)

self.force_one_tab(self.ui.tabIMPORT)
else:
raise Exception("Unknown record type")

self.editing_row = row

Expand Down

0 comments on commit ae7438a

Please sign in to comment.