Skip to content

Commit

Permalink
Namecoin: Enable editing DS 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 319108d commit a61db1d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions electrum_nmc/electrum/gui/qt/configure_dns_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,19 @@ def edit_selected_record(self):
self.ui.editNSHosts.setText(record_data)

self.force_one_tab(self.ui.tabNS)
elif record_type == "ds":
key_tag, algorithm, hash_type, fingerprint = record_data

key_tag = str(key_tag)
algorithm = str(algorithm)
hash_type = str(hash_type)

self.ui.editDSKeyTag.setText(key_tag)
self.ui.editDSAlgorithm.setText(algorithm)
self.ui.editDSHashType.setText(hash_type)
self.ui.editDSHash.setText(fingerprint)

self.force_one_tab(self.ui.tabDS)

self.editing_row = row

Expand Down

0 comments on commit a61db1d

Please sign in to comment.