Browse Source

Merge pull request #3892

b8edf6c Qt: Fix ESC in disablewallet mode (Wladimir J. van der Laan)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
162c33d246
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 7
      src/qt/rpcconsole.cpp
  2. 1
      src/qt/rpcconsole.h

7
src/qt/rpcconsole.cpp

@ -331,6 +331,13 @@ void RPCConsole::clear() @@ -331,6 +331,13 @@ void RPCConsole::clear()
tr("Type <b>help</b> for an overview of available commands.")), true);
}
void RPCConsole::reject()
{
// Ignore escape keypress if this is not a seperate window
if(windowType() != Qt::Widget)
QDialog::reject();
}
void RPCConsole::message(int category, const QString &message, bool html)
{
QTime time = QTime::currentTime();

1
src/qt/rpcconsole.h

@ -47,6 +47,7 @@ private slots: @@ -47,6 +47,7 @@ private slots:
public slots:
void clear();
void reject();
void message(int category, const QString &message, bool html = false);
/** Set number of connections shown in the UI */
void setNumConnections(int count);

Loading…
Cancel
Save