From 77d1f8968d648e64294d7965c24426b7ecf8828f Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Sat, 15 Jun 2019 12:19:17 -0500 Subject: [PATCH] Delete disabled code blocks within guiMessage() method --- src/Mod/Path/PathScripts/PathAreaOp.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py index b6f32da0ab..8afa68d7f2 100644 --- a/src/Mod/Path/PathScripts/PathAreaOp.py +++ b/src/Mod/Path/PathScripts/PathAreaOp.py @@ -724,22 +724,6 @@ class ObjectOp(PathOp.ObjectOp): return True # Types: information, warning, critical, question - if False: - reply = QtGui.QMessageBox.question(None,"",message, - QtGui.QMessageBox.Yes | QtGui.QMessageBox.No, QtGui.QMessageBox.No) - if reply == QtGui.QMessageBox.Yes: - yes = 'yes' - if reply == QtGui.QMessageBox.No: - no = 'no' - if False: - msgBox = QtGui.QMessageBox() - msgBox.setText(translate("Arch","This mesh has more than 1000 facets.")) - msgBox.setInformativeText(translate("Arch","This operation can take a long time. Proceed?")) - msgBox.setStandardButtons(QtGui.QMessageBox.Ok | QtGui.QMessageBox.Cancel) - msgBox.setDefaultButton(QtGui.QMessageBox.Cancel) - ret = msgBox.exec_() - if ret == QtGui.QMessageBox.Cancel: - return return False def visualAxis(self):