On 7 January 2015 at 21:48, Lubomir I. Ivanov <[email protected]> wrote:
> From: "Lubomir I. Ivanov" <[email protected]>
>
> Signed-off-by: Lubomir I. Ivanov <[email protected]>
> ---
>  qt-ui/profile/profilewidget2.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qt-ui/profile/profilewidget2.cpp 
> b/qt-ui/profile/profilewidget2.cpp
> index 226580a..a3e08d8 100644
> --- a/qt-ui/profile/profilewidget2.cpp
> +++ b/qt-ui/profile/profilewidget2.cpp
> @@ -610,7 +610,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force)
>
>         instantMeanDepth->vAxis = profileYAxis;
>         instantMeanDepth->hAxis = timeAxis;
> -       instantMeanDepth->setVisible(prefs.show_average_depth);
> +       instantMeanDepth->setVisible(prefs.show_average_depth && !printMode);
>         instantMeanDepth->setModel(dataModel);
>
>         dataModel->emitDataChanged();
> --
> 1.7.11.msysgit.0
>

bump,

this is a simple fix that hides the mean depth (mouse over) line when printing.
not sure if relevant.

lubomir
--
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to