[Scummvm-git-logs] scummvm master -> 13a0004c30d645f8905c12ae4901ad0e40a1aa4d

sev- noreply at scummvm.org
Mon Mar 16 13:30:39 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
13a0004c30 GUI: Update print preview on dialog resize


Commit: 13a0004c30d645f8905c12ae4901ad0e40a1aa4d
    https://github.com/scummvm/scummvm/commit/13a0004c30d645f8905c12ae4901ad0e40a1aa4d
Author: tunnelsociety (tunnelsociety at mm.st)
Date: 2026-03-16T14:30:34+01:00

Commit Message:
GUI: Update print preview on dialog resize

Changed paths:
    gui/printing-dialog.cpp
    gui/printing-dialog.h


diff --git a/gui/printing-dialog.cpp b/gui/printing-dialog.cpp
index da1b12aa127..10c0890e928 100644
--- a/gui/printing-dialog.cpp
+++ b/gui/printing-dialog.cpp
@@ -248,4 +248,9 @@ void PrintingDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
 	}
 }
 
+void PrintingDialog::reflowLayout() {
+	Dialog::reflowLayout();
+	updatePreview();
+}
+
 } // End of namespace GUI
diff --git a/gui/printing-dialog.h b/gui/printing-dialog.h
index 189de916296..e10998efe91 100644
--- a/gui/printing-dialog.h
+++ b/gui/printing-dialog.h
@@ -44,6 +44,7 @@ public:
 	PrintingDialog(const Graphics::ManagedSurface &surface, bool defaultFitToPage, bool defaultCenter, PageOrientation defaultOrientation);
 
 	void handleCommand(CommandSender *sender, uint32 cmd, uint32 data) override;
+	void reflowLayout() override;
 
 private:
 	void updatePreview();




More information about the Scummvm-git-logs mailing list