mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
fix: setting manual donation level not applied sometimes
This commit is contained in:
parent
8819f73984
commit
431ba0b83b
1 changed files with 3 additions and 1 deletions
|
@ -447,12 +447,14 @@ impl PubXvbApi {
|
||||||
}
|
}
|
||||||
let runtime_mode = std::mem::take(&mut gui_api.stats_priv.runtime_mode);
|
let runtime_mode = std::mem::take(&mut gui_api.stats_priv.runtime_mode);
|
||||||
let runtime_manual_amount = std::mem::take(&mut gui_api.stats_priv.runtime_manual_amount);
|
let runtime_manual_amount = std::mem::take(&mut gui_api.stats_priv.runtime_manual_amount);
|
||||||
|
let runtime_manual_donation_level =
|
||||||
|
std::mem::take(&mut gui_api.stats_priv.runtime_manual_donation_level);
|
||||||
*gui_api = Self {
|
*gui_api = Self {
|
||||||
output,
|
output,
|
||||||
stats_priv: XvbPrivStats {
|
stats_priv: XvbPrivStats {
|
||||||
runtime_mode,
|
runtime_mode,
|
||||||
runtime_manual_amount,
|
runtime_manual_amount,
|
||||||
|
runtime_manual_donation_level,
|
||||||
..pub_api.stats_priv.clone()
|
..pub_api.stats_priv.clone()
|
||||||
},
|
},
|
||||||
p2pool_sent_last_hour_samples: std::mem::take(
|
p2pool_sent_last_hour_samples: std::mem::take(
|
||||||
|
|
Loading…
Reference in a new issue