mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 22:59:27 +00:00
p2pool: fix custom node selection sometimes using old values
This commit is contained in:
parent
8586e3e7ca
commit
c0161010fa
2 changed files with 8 additions and 5 deletions
|
@ -1,9 +1,8 @@
|
|||
# v1.0.1
|
||||
## Updates
|
||||
*
|
||||
|
||||
## Fixes
|
||||
*
|
||||
* macOS: Added warning (and solution) if `Gupax/P2Pool/XMRig` were quarantined by [`Gatekeeper`](https://support.apple.com/en-us/HT202491)
|
||||
* P2Pool: Fixed custom node selection sometimes using old values after save
|
||||
* Miscellaneous UI changes
|
||||
|
||||
## Bundled Versions
|
||||
* [`P2Pool v2.6`](https://github.com/SChernykh/p2pool/releases/tag/v2.6)
|
||||
|
|
|
@ -378,6 +378,10 @@ impl P2pool {
|
|||
zmq: self.zmq.clone(),
|
||||
};
|
||||
node_vec[existing_index].1 = node;
|
||||
self.selected_index = existing_index;
|
||||
self.selected_ip = self.ip.clone();
|
||||
self.selected_rpc = self.rpc.clone();
|
||||
self.selected_zmq = self.zmq.clone();
|
||||
info!("Node | S | [index: {}, name: \"{}\", ip: \"{}\", rpc: {}, zmq: {}]", existing_index+1, self.name, self.ip, self.rpc, self.zmq);
|
||||
}
|
||||
// Else, add to the list
|
||||
|
@ -459,7 +463,7 @@ impl P2pool {
|
|||
let text = (ui.available_width()/10.0)-SPACE;
|
||||
let width = (text*8.0)-SPACE;
|
||||
let height = height/3.0;
|
||||
ui.style_mut().spacing.slider_width = width/1.2;
|
||||
ui.style_mut().spacing.slider_width = width/1.1;
|
||||
ui.style_mut().spacing.interact_size.y = height;
|
||||
ui.style_mut().override_text_style = Some(Name("MonospaceSmall".into()));
|
||||
ui.horizontal(|ui| {
|
||||
|
|
Loading…
Reference in a new issue