aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-20 05:01:27 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-31 23:34:04 +0300
commit38eb37c0bd29b4cb825de905e8eec87636a5221b (patch)
treec2d2d3943d24eb7150db5794a8f9f4f5937294ca /src/qt/rpcconsole.h
parent0c32b9c5273a4933bda90aa9eb9b7eace6dcaa14 (diff)
downloadbitcoin-38eb37c0bd29b4cb825de905e8eec87636a5221b.tar.xz
qt, rpc: Do not accept command while executing another one
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r--src/qt/rpcconsole.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h
index 55a1decceb..75f466642b 100644
--- a/src/qt/rpcconsole.h
+++ b/src/qt/rpcconsole.h
@@ -166,6 +166,7 @@ private:
QCompleter *autoCompleter = nullptr;
QThread thread;
WalletModel* m_last_wallet_model{nullptr};
+ bool m_is_executing{false};
/** Update UI with latest network info from model. */
void updateNetworkState();