| 86 | } |
| 87 | |
| 88 | void SendCoinsEntry::setModel(WalletModel *_model) |
| 89 | { |
| 90 | this->model = _model; |
| 91 | |
| 92 | if (_model && _model->getOptionsModel()) { |
| 93 | connect(_model->getOptionsModel(), &OptionsModel::displayUnitChanged, this, &SendCoinsEntry::updateDisplayUnit); |
| 94 | connect(_model, &WalletModel::assetTypesChanged, this, &SendCoinsEntry::updateAssetTypes); |
| 95 | } |
| 96 | |
| 97 | clear(); |
| 98 | } |
| 99 | |
| 100 | void SendCoinsEntry::clear() |
| 101 | { |
no test coverage detected