File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/databrowser/src/main/java/org/csstudio/trends/databrowser3/ui Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,9 @@ private void createContextMenu()
198198 items .addAll (add_data );
199199
200200 items .add (new SeparatorMenuItem ());
201- items .add (new PrintAction (plot .getPlot ()));
202- items .add (new SaveSnapshotAction (plot .getPlot ()));
201+ // Get screenshot of actual plot without optional toolbar
202+ items .add (new PrintAction (plot .getPlot ().getCenter ()));
203+ items .add (new SaveSnapshotAction (plot .getPlot ().getCenter ()));
203204
204205 SelectionService .getInstance ().setSelection (this , Arrays .asList (DatabrowserSelection .of (model , plot )));
205206 List <ContextMenuEntry > supported = ContextMenuService .getInstance ().listSupportedContextMenuEntries ();
You can’t perform that action at this time.
0 commit comments