diff --git a/src/apps/stylededit/StyledEditWindow.cpp b/src/apps/stylededit/StyledEditWindow.cpp index c8e2b06242..895f362e81 100644 --- a/src/apps/stylededit/StyledEditWindow.cpp +++ b/src/apps/stylededit/StyledEditWindow.cpp @@ -1119,6 +1119,7 @@ StyledEditWindow::PageSetup(const char *documentname) if (fPrintSettings != NULL) { printJob.SetSettings(fPrintSettings); + fPrintSettings = NULL; } result = printJob.ConfigPage(); @@ -1144,6 +1145,7 @@ StyledEditWindow::Print(const char *documentname) BPrintJob printJob(documentname); printJob.SetSettings(fPrintSettings); + fPrintSettings = NULL; result = printJob.ConfigJob(); if (result != B_OK) { return;