Skip to content

Commit

Permalink
Delete disabled code blocks
Browse files Browse the repository at this point in the history
within guiMessage() method
  • Loading branch information
Russ4262 committed Jun 15, 2019
1 parent 4cff627 commit 77d1f89
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/Mod/Path/PathScripts/PathAreaOp.py
Expand Up @@ -724,22 +724,6 @@ def guiMessage(self, title, msg, show=False):
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):
Expand Down

0 comments on commit 77d1f89

Please sign in to comment.