Skip to content

Commit

Permalink
Namecoin: Enable editing SSHFP 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 6a783aa commit bbf580d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions electrum_nmc/electrum/gui/qt/configure_dns_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,17 @@ def edit_selected_record(self):
self.ui.editTLSData.setPlainText(cert_data)

self.force_one_tab(self.ui.tabTLS)
elif record_type == "sshfp":
algorithm, fingerprint_type, fingerprint = record_data

algorithm = str(algorithm)
fingerprint_type = str(fingerprint_type)

self.ui.editSSHFPAlgorithm.setText(algorithm)
self.ui.editSSHFPFingerprintType.setText(fingerprint_type)
self.ui.editSSHFPFingerprint.setText(fingerprint)

self.force_one_tab(self.ui.tabSSHFP)

self.editing_row = row

Expand Down

0 comments on commit bbf580d

Please sign in to comment.