AnalyzeOutputDialog does not call exec during __init__

This commit is contained in:
David Vierra 2015-10-23 22:40:54 -10:00
parent 0856fe6a2f
commit 2639967721
2 changed files with 1 additions and 2 deletions

View File

@ -27,8 +27,6 @@ class AnalyzeOutputDialog(QtGui.QDialog):
self.txtButton.clicked.connect(self.export_txt)
self.csvButton.clicked.connect(self.export_csv)
self.exec_()
def setupTables(self, blockCount, entityCount, tileEntityCount):
blockTableView = self.blockOutputTableView
blockCounts = sorted([(self.editorSession.worldEditor.blocktypes[i & 0xfff, i >> 12], blockCount[i])

View File

@ -745,6 +745,7 @@ class EditorSession(QtCore.QObject):
task.entityCounts,
task.tileEntityCounts,
task.dimension.worldEditor.displayName)
outputDialog.exec_()
def deleteSelection(self):
command = SimpleRevisionCommand(self, "Delete")