mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Auto open in new viewer
This commit is contained in:
parent
14140e6edf
commit
3ae172082c
3 changed files with 8 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ namespace satdump
|
|||
|
||||
process(pipeline.value(), input_level, input_file, output_file, parameters);
|
||||
}
|
||||
|
||||
void process(Pipeline downlink_pipeline,
|
||||
std::string input_level,
|
||||
std::string input_file,
|
||||
|
|
@ -74,7 +75,7 @@ namespace satdump
|
|||
if (std::filesystem::exists(output_file + "/dataset.json"))
|
||||
{
|
||||
logger->info("Opening viewer!");
|
||||
viewer_app->loadDatasetInViewer(output_file + "/dataset.json");
|
||||
viewer_app2->openProductOrDataset(output_file + "/dataset.json");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue