Merge branch 'master' of git://github.com/spesmilo/electrum
This commit is contained in:
commit
68c664c483
|
@ -373,7 +373,7 @@ class ButtonsWidget(QWidget):
|
||||||
def addCopyButton(self, app):
|
def addCopyButton(self, app):
|
||||||
self.app = app
|
self.app = app
|
||||||
f = lambda: self.app.clipboard().setText(str(self.text()))
|
f = lambda: self.app.clipboard().setText(str(self.text()))
|
||||||
self.addButton(":icons/copy.png", f, _("Copy to Clibboard"))
|
self.addButton(":icons/copy.png", f, _("Copy to Clipboard"))
|
||||||
|
|
||||||
class ButtonsLineEdit(QLineEdit, ButtonsWidget):
|
class ButtonsLineEdit(QLineEdit, ButtonsWidget):
|
||||||
def __init__(self, text=None):
|
def __init__(self, text=None):
|
||||||
|
|
Loading…
Reference in New Issue