diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index 7eb7b702b7..025b1cb4cf 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -1092,7 +1092,6 @@ void MainWindow::exportSelectedPackets() { formats that don't support comments trimmed from it, so run the dialog again, to let the user decide whether to save in one of those formats or give up. */ - discard_comments = FALSE; continue; case CANCELLED: