Make sure file is selected if not open
@@ -450,6 +450,13 @@ fn event(
LapceUICommand::OpenFile(node.path_buf.clone()),
Target::Widget(data.id),
));
+ ctx.submit_command(Command::new(
+ LAPCE_UI_COMMAND,
+ LapceUICommand::ActiveFileChanged {
+ path: Some(node.path_buf.clone()),
+ },
+ Target::Widget(file_explorer.widget_id),
+ ));
}
}
}
