diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-09 17:12:05 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-09 17:15:09 +0200 |
commit | b84172434d32ee26268817daf865897570e9ac32 (patch) | |
tree | fa50401356fe4ea45b38c7b26d421e38bcf2994f /src/qt/rpcconsole.h | |
parent | 2e767410b83a4468bf83be9c39f99cf0325c7739 (diff) |
Automatically focus entry widget when console tab comes into focus
Fixes #1241
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r-- | src/qt/rpcconsole.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index a0a73bedd3..2ec47b0cf8 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -28,12 +28,13 @@ public: }; protected: - virtual bool event(QEvent *event); virtual bool eventFilter(QObject* obj, QEvent *event); private slots: void on_lineEdit_returnPressed(); + void on_tabWidget_currentChanged(int index); + public slots: void clear(); void message(int category, const QString &message); |