diff options
m--------- | src/3rdparty | 0 | ||||
-rw-r--r-- | src/core/printing/print_view_manager_base_qt.cpp | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/3rdparty b/src/3rdparty -Subproject f8a944bbe5fb9c7f1886a76f8243f1edf67fc04 +Subproject 202e34476e934633b3c2e4679a53c4b0847364a diff --git a/src/core/printing/print_view_manager_base_qt.cpp b/src/core/printing/print_view_manager_base_qt.cpp index b8e18e7d7..8d2d1bfd6 100644 --- a/src/core/printing/print_view_manager_base_qt.cpp +++ b/src/core/printing/print_view_manager_base_qt.cpp @@ -383,6 +383,11 @@ void PrintViewManagerBaseQt::GetDefaultPrintSettings(GetDefaultPrintSettingsCall void PrintViewManagerBaseQt::PrintingFailed(int32_t cookie) { + // Note: Not redundant with cookie checks in the same method in other parts of + // the class hierarchy. + if (!IsValidCookie(cookie)) + return; + PrintManager::PrintingFailed(cookie); ReleasePrinterQuery(); |