Skip to content

Commit

Permalink
Fix missing mut on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
H-M-H committed Jun 11, 2020
1 parent 27d9aa1 commit 5739dae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ pub fn run(log_receiver: mpsc::Receiver<String>) {
#[cfg(not(target_os = "linux"))]
choice_capturable.deactivate();

let but_update_capturables = Button::default()
#[allow(unused_mut)]
let mut but_update_capturables = Button::default()
.with_size(width, height)
.below_of(&choice_capturable, padding)
.with_label("Refresh");
Expand Down

0 comments on commit 5739dae

Please sign in to comment.