From 50266f760b4344490115f4b51db65f4b706548ce Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 27 Mar 2017 11:09:40 +0200 Subject: [PATCH] Revert "Prevent MachineSettings dialog go beyond the top of screen" This reverts commit a0f841e8eb2e3fc41a5d053232ea29cf538e30be. --- resources/qml/Preferences/MachinesPage.qml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/resources/qml/Preferences/MachinesPage.qml b/resources/qml/Preferences/MachinesPage.qml index 1abd688b32..239e1a2aad 100644 --- a/resources/qml/Preferences/MachinesPage.qml +++ b/resources/qml/Preferences/MachinesPage.qml @@ -114,11 +114,6 @@ UM.ManagementPage property var content minimumWidth: 350 * Screen.devicePixelRatio; minimumHeight: 350 * Screen.devicePixelRatio; - - // prevent the Machine Settings dialog from going beyond the top of the screen - x: (x < 0) ? 0 : x - y: (y < 0) ? 0 : y - onContentChanged: { contents = content;