diff --git a/sources/exportdialog.cpp b/sources/exportdialog.cpp index 4242d726d..b04ebd8d3 100644 --- a/sources/exportdialog.cpp +++ b/sources/exportdialog.cpp @@ -16,6 +16,7 @@ along with QElectroTech. If not, see . */ #include "exportdialog.h" +#include "shownkinds.h" #include "conductorsegment.h" #include "createdxf.h" @@ -497,7 +498,9 @@ void ExportDialog::slot_export() { for (QGraphicsItem *item : diagram_line->diagram->items()) { - if (qgraphicsitem_cast(item)) { + //A picture hidden by View > Show is not exported + if (qgraphicsitem_cast(item) + && !ShownKinds::isHidden(item)) { any_images = true; break; }