aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinaddressvalidator.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-16 19:01:05 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-16 19:25:02 +0200
commita5e6d72339f28699bc356603f695bd620be37e83 (patch)
treee1e0501a5b58cbc018f5f6ad60c064f84d747a9c /src/qt/bitcoinaddressvalidator.cpp
parentd4211176208b5e4ae4a699c6ce3239447752cdb2 (diff)
add sendmany support
Diffstat (limited to 'src/qt/bitcoinaddressvalidator.cpp')
-rw-r--r--src/qt/bitcoinaddressvalidator.cpp6
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;
}