diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-06-28 10:11:55 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-06-28 10:12:01 +0200 |
| commit | ff03c50c004844fff71b940c7ac67123a0c5934c (patch) | |
| tree | 9316e68f2cd0bbefa511d3198212a3b5709c4a5b /src/noui.cpp | |
| parent | Merge #8258: RPC: Hide softfork if timeout is 0 (diff) | |
| parent | Do not ask a UI question from bitcoind (diff) | |
| download | discoin-ff03c50c004844fff71b940c7ac67123a0c5934c.tar.xz discoin-ff03c50c004844fff71b940c7ac67123a0c5934c.zip | |
Merge #8257: Do not ask a UI question from bitcoind
1acf1db Do not ask a UI question from bitcoind (Pieter Wuille)
Diffstat (limited to 'src/noui.cpp')
| -rw-r--r-- | src/noui.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/noui.cpp b/src/noui.cpp index 3a7736191..0d9207c11 100644 --- a/src/noui.cpp +++ b/src/noui.cpp @@ -39,6 +39,11 @@ static bool noui_ThreadSafeMessageBox(const std::string& message, const std::str return false; } +static bool noui_ThreadSafeQuestion(const std::string& /* ignored interactive message */, const std::string& message, const std::string& caption, unsigned int style) +{ + return noui_ThreadSafeMessageBox(message, caption, style); +} + static void noui_InitMessage(const std::string& message) { LogPrintf("init message: %s\n", message); @@ -48,5 +53,6 @@ void noui_connect() { // Connect bitcoind signal handlers uiInterface.ThreadSafeMessageBox.connect(noui_ThreadSafeMessageBox); + uiInterface.ThreadSafeQuestion.connect(noui_ThreadSafeQuestion); uiInterface.InitMessage.connect(noui_InitMessage); } |