We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 916d752 commit 980b8e9Copy full SHA for 980b8e9
src/qt/rpcconsole.cpp
@@ -892,7 +892,7 @@ void RPCConsole::on_lineEdit_returnPressed()
892
{
893
QString cmd = ui->lineEdit->text();
894
895
- if (cmd.isEmpty() || m_is_executing) {
+ if (cmd.isEmpty()) {
896
return;
897
}
898
@@ -908,6 +908,16 @@ void RPCConsole::on_lineEdit_returnPressed()
908
909
910
911
+ if (cmd.startsWith("stop")) {
912
+ std::string dummy;
913
+ RPCExecuteCommandLine(m_node, dummy, cmd.toStdString());
914
+ return;
915
+ }
916
+
917
+ if (m_is_executing) {
918
919
920
921
ui->lineEdit->clear();
922
923
#ifdef ENABLE_WALLET
0 commit comments