diff options
Diffstat (limited to 'src/qt/bitcoinaddressvalidator.cpp')
-rw-r--r-- | src/qt/bitcoinaddressvalidator.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/bitcoinaddressvalidator.cpp b/src/qt/bitcoinaddressvalidator.cpp index 4308a893c2..373877808f 100644 --- a/src/qt/bitcoinaddressvalidator.cpp +++ b/src/qt/bitcoinaddressvalidator.cpp @@ -57,5 +57,11 @@ QValidator::State BitcoinAddressValidator::validate(QString &input, int &pos) co } } + // Empty address is "intermediate" input + if(input.isEmpty()) + { + state = QValidator::Intermediate; + } + return state; } |