diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-03-24 18:48:18 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-04-04 09:35:01 +0200 |
| commit | 98e61758744ed34e8b7f59b37edb6d09b33d5517 (patch) | |
| tree | 0eed63fc85d0dbcc851a1fbce8cdcb16b3b5b72c /src/qt/addressbookpage.cpp | |
| parent | Code deduplication: make function in GUIUtil to get connection type to call o... (diff) | |
| download | discoin-98e61758744ed34e8b7f59b37edb6d09b33d5517.tar.xz discoin-98e61758744ed34e8b7f59b37edb6d09b33d5517.zip | |
Update UI through async calls MainFrameRepaint and AddressBookRepaint instead of a timer.
- Overall, this is better design
- This fixes problems with the address book UI not updating when the address book is changed through RPC
- Move Statusbar change detection responsibility to ClientModel
Diffstat (limited to 'src/qt/addressbookpage.cpp')
| -rw-r--r-- | src/qt/addressbookpage.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp index cb185beae..88212835d 100644 --- a/src/qt/addressbookpage.cpp +++ b/src/qt/addressbookpage.cpp @@ -94,8 +94,6 @@ void AddressBookPage::setModel(AddressTableModel *model) this->model = model; if(!model) return; - // Refresh list from core - model->updateList(); proxyModel = new QSortFilterProxyModel(this); proxyModel->setSourceModel(model); |