Skip to content

Commit

Permalink
Gui: [skip ci] make commands print, print preview and print to pdf al…
Browse files Browse the repository at this point in the history
…so active when editig a sketch
  • Loading branch information
wwmayer committed Oct 8, 2020
1 parent 16d9118 commit 34ed859
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Gui/CommandDoc.cpp
Expand Up @@ -687,6 +687,7 @@ StdCmdPrint::StdCmdPrint()
sStatusTip = QT_TR_NOOP("Print the document");
sPixmap = "document-print";
sAccel = keySequenceToAccel(QKeySequence::Print);
eType = 0;
}

void StdCmdPrint::activated(int iMsg)
Expand Down Expand Up @@ -717,6 +718,7 @@ StdCmdPrintPreview::StdCmdPrintPreview()
sWhatsThis = "Std_PrintPreview";
sStatusTip = QT_TR_NOOP("Print preview");
sPixmap = "document-print-preview";
eType = 0;
}

void StdCmdPrintPreview::activated(int iMsg)
Expand Down Expand Up @@ -745,6 +747,7 @@ StdCmdPrintPdf::StdCmdPrintPdf()
sToolTipText = QT_TR_NOOP("Export the document as PDF");
sWhatsThis = "Std_PrintPdf";
sStatusTip = QT_TR_NOOP("Export the document as PDF");
eType = 0;
}

void StdCmdPrintPdf::activated(int iMsg)
Expand Down

0 comments on commit 34ed859

Please sign in to comment.