mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 04:30:43 +00:00
Fixed messup with blank reports where no bookmarks
This commit is contained in:
parent
25f1e10d7c
commit
6a1cff849b
@ -1396,17 +1396,14 @@ void MainWindow::PrintReport(gGraphView *gv,QString name, QDate date)
|
||||
gGraph *g;
|
||||
if (!print_bookmarks) {
|
||||
for (int i=0;i<gv->size();i++) {
|
||||
bool normal=true;
|
||||
gGraph *g=(*gv)[i];
|
||||
if (g->isEmpty()) continue;
|
||||
if (!g->visible()) continue;
|
||||
if (print_bookmarks) {
|
||||
normal=false;
|
||||
start.push_back(st);
|
||||
end.push_back(et);
|
||||
graphs.push_back(g);
|
||||
labels.push_back(tr("Current Selection"));
|
||||
}
|
||||
start.push_back(st);
|
||||
end.push_back(et);
|
||||
graphs.push_back(g);
|
||||
labels.push_back("");
|
||||
//labels.push_back(tr("Current Selection"));
|
||||
}
|
||||
} else {
|
||||
if ((g=gv->findGraph(tr("Event Flags")))!=NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user