mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 06:39:21 +00:00
fix: saving for node tab
This commit is contained in:
parent
9a2bbb8b64
commit
e8dda5c670
2 changed files with 4 additions and 0 deletions
|
@ -97,9 +97,11 @@ impl eframe::App for App {
|
|||
let og = lock!(self.og);
|
||||
self.diff = og.status != self.state.status
|
||||
|| og.gupax != self.state.gupax
|
||||
|| og.node != self.state.node
|
||||
|| og.p2pool != self.state.p2pool
|
||||
|| og.xmrig != self.state.xmrig
|
||||
|| og.xvb != self.state.xvb
|
||||
// || og.node != self.state.node
|
||||
|| self.og_node_vec != self.node_vec
|
||||
|| self.og_pool_vec != self.pool_vec;
|
||||
drop(og);
|
||||
|
|
|
@ -176,6 +176,7 @@ impl crate::app::App {
|
|||
let og = lock!(self.og).clone();
|
||||
self.state.status = og.status;
|
||||
self.state.gupax = og.gupax;
|
||||
self.state.node = og.node;
|
||||
self.state.p2pool = og.p2pool;
|
||||
self.state.xmrig = og.xmrig;
|
||||
self.state.xmrig_proxy = og.xmrig_proxy;
|
||||
|
@ -194,6 +195,7 @@ impl crate::app::App {
|
|||
let mut og = lock!(self.og);
|
||||
og.status = self.state.status.clone();
|
||||
og.gupax = self.state.gupax.clone();
|
||||
og.node = self.state.node.clone();
|
||||
og.p2pool = self.state.p2pool.clone();
|
||||
og.xmrig = self.state.xmrig.clone();
|
||||
og.xmrig_proxy = self.state.xmrig_proxy.clone();
|
||||
|
|
Loading…
Reference in a new issue