mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2025-01-08 12:00:29 +03:00
Copy to clipboard.
This commit is contained in:
parent
91967a86ae
commit
054c8e9666
@ -124,7 +124,8 @@ class Code(QtGui.QWidget):
|
||||
self._on_change()
|
||||
|
||||
def _copy(self):
|
||||
print "TODO: copy", self.cred.code.code
|
||||
QtCore.QCoreApplication.instance().clipboard().setText(
|
||||
self.cred.code.code)
|
||||
|
||||
def _calc(self):
|
||||
if self.cred.cred_type is CredentialType.HOTP:
|
||||
|
Loading…
Reference in New Issue
Block a user