Skip to content

Commit

Permalink
Merge branch 'master' into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jul 21, 2023
2 parents c1cd055 + e90703b commit 635b0c1
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/view/wallet/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,6 @@ impl Widgets {
menu.popup(None::<&Menu>, None::<&MenuItem>, |_, _, _| false, 0, 0);
true
});
self.history_list.connect_row_activated(|me, path, _| {
let model = me.model().unwrap();
let iter = model.iter(path).unwrap();
let val: String = model.value(&iter, 1).get().unwrap();
gtk::Clipboard::get(&gdk::SELECTION_CLIPBOARD).set_text(&val);
});

let menu = self.coin_menu.clone();
self.utxo_list
Expand All @@ -214,12 +208,6 @@ impl Widgets {
menu.popup(None::<&Menu>, None::<&MenuItem>, |_, _, _| false, 0, 0);
true
});
self.utxo_list.connect_row_activated(|me, path, _| {
let model = me.model().unwrap();
let iter = model.iter(path).unwrap();
let val: String = model.value(&iter, 1).get().unwrap();
gtk::Clipboard::get(&gdk::SELECTION_CLIPBOARD).set_text(&val);
});

let menu = self.address_menu.clone();
self.address_list
Expand All @@ -235,12 +223,6 @@ impl Widgets {
menu.popup(None::<&Menu>, None::<&MenuItem>, |_, _, _| false, 0, 0);
true
});
self.address_list.connect_row_activated(|me, path, _| {
let model = me.model().unwrap();
let iter = model.iter(path).unwrap();
let val: String = model.value(&iter, 0).get().unwrap();
gtk::Clipboard::get(&gdk::SELECTION_CLIPBOARD).set_text(&val);
});

let list = self.history_list.clone();
self.hist_copy_txid_mi.connect_activate(move |_| {
Expand Down

0 comments on commit 635b0c1

Please sign in to comment.