refactor: fix unused var warning
This commit is contained in:
@@ -466,7 +466,7 @@ impl Module<gtk::Box> for LauncherModule {
|
|||||||
|
|
||||||
{
|
{
|
||||||
let tx = controller_tx.clone();
|
let tx = controller_tx.clone();
|
||||||
button.connect_clicked(move |button| {
|
button.connect_clicked(move |_button| {
|
||||||
try_send!(tx, ItemEvent::FocusWindow(win.id));
|
try_send!(tx, ItemEvent::FocusWindow(win.id));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user