better fees estimates
This commit is contained in:
@@ -14,6 +14,7 @@ class MyLineEdit(QLineEdit):
|
||||
self.frozen.emit()
|
||||
|
||||
class AmountEdit(MyLineEdit):
|
||||
shortcut = pyqtSignal()
|
||||
|
||||
def __init__(self, base_unit, is_int = False, parent=None):
|
||||
QLineEdit.__init__(self, parent)
|
||||
@@ -29,7 +30,8 @@ class AmountEdit(MyLineEdit):
|
||||
def numbify(self):
|
||||
text = unicode(self.text()).strip()
|
||||
if text == '!':
|
||||
self.is_shortcut = True
|
||||
self.shortcut.emit()
|
||||
return
|
||||
pos = self.cursorPosition()
|
||||
chars = '0123456789'
|
||||
if not self.is_int: chars +='.'
|
||||
|
||||
Reference in New Issue
Block a user