mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Selection help; Fixed find actions for selections
This commit is contained in:
@@ -130,11 +130,6 @@ impl FileTransferActivity {
|
||||
// -- private
|
||||
|
||||
fn get_selected_index(&self, component: &str) -> SelectedEntryIndex {
|
||||
eprintln!(
|
||||
"INDEX FOR {}: {:?}",
|
||||
component,
|
||||
self.view.get_state(component)
|
||||
);
|
||||
match self.view.get_state(component) {
|
||||
Some(Payload::One(Value::Usize(idx))) => SelectedEntryIndex::One(idx),
|
||||
Some(Payload::Vec(files)) => {
|
||||
|
||||
Reference in New Issue
Block a user