Adds release notes link in version upgrade messagebox

CURA-5348
This commit is contained in:
Aleksei S 2018-05-22 17:32:38 +02:00
parent 74a7452333
commit 36c2e80121
2 changed files with 2 additions and 1 deletions

View File

@ -448,7 +448,7 @@ class CuraApplication(QtApplication):
## A reusable dialogbox ## 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 = []): def messageBox(self, title, text, informativeText = "", detailedText = "", buttons = QMessageBox.Ok, icon = QMessageBox.NoIcon, callback = None, callback_arguments = []):
self._message_box_callback = callback self._message_box_callback = callback

View File

@ -489,6 +489,7 @@ UM.MainWindow
horizontalCenterOffset: -(Math.round(UM.Theme.getSize("sidebar").width / 2)) horizontalCenterOffset: -(Math.round(UM.Theme.getSize("sidebar").width / 2))
top: parent.verticalCenter; top: parent.verticalCenter;
bottom: parent.bottom; bottom: parent.bottom;
bottomMargin: UM.Theme.getSize("default_margin").height
} }
} }
} }