From 36c2e80121713ee3ab0754eb72b274dec0592edd Mon Sep 17 00:00:00 2001 From: Aleksei S Date: Tue, 22 May 2018 17:32:38 +0200 Subject: [PATCH] Adds release notes link in version upgrade messagebox CURA-5348 --- cura/CuraApplication.py | 2 +- resources/qml/Cura.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 034d045ce6..ccc2b9f8c4 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -448,7 +448,7 @@ class CuraApplication(QtApplication): ## A reusable dialogbox # - showMessageBox = pyqtSignal(str, str, str, str, int, int, arguments = ["title", "text", "informativeText", "detailedText", "buttons", "icon"]) + showMessageBox = pyqtSignal(str, str, str, str, str, int, int, arguments = ["title", "footer", "text", "informativeText", "detailedText", "buttons", "icon"]) def messageBox(self, title, text, informativeText = "", detailedText = "", buttons = QMessageBox.Ok, icon = QMessageBox.NoIcon, callback = None, callback_arguments = []): self._message_box_callback = callback diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index ac37cce10a..c2f984f1ba 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -489,6 +489,7 @@ UM.MainWindow horizontalCenterOffset: -(Math.round(UM.Theme.getSize("sidebar").width / 2)) top: parent.verticalCenter; bottom: parent.bottom; + bottomMargin: UM.Theme.getSize("default_margin").height } } }