Issue #2364 Moved import in python method
Change-Id: Id5ccb072140259866d387765836e8fb4887d5283 Former-commit-id:a5631d0132
[formerlyc5bb45f380
[formerly 6710f93ec44b23d2af4c708af3127ef6f564777c]] Former-commit-id:c5bb45f380
Former-commit-id:616ee390d2
This commit is contained in:
parent
22e5d96490
commit
74abb52240
1 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,7 @@ import HazardUtils
|
||||||
import VTECTable
|
import VTECTable
|
||||||
import LogStream
|
import LogStream
|
||||||
import numpy
|
import numpy
|
||||||
from MessageBox import MessageBox
|
|
||||||
|
|
||||||
from HazardUtils import MODEL
|
from HazardUtils import MODEL
|
||||||
from HazardUtils import ELEMENT
|
from HazardUtils import ELEMENT
|
||||||
|
@ -255,7 +255,8 @@ class Procedure(SmartScript.SmartScript):
|
||||||
##
|
##
|
||||||
# Displays a dialog box and queries the user to continue to merge or
|
# Displays a dialog box and queries the user to continue to merge or
|
||||||
# abort the merge
|
# abort the merge
|
||||||
def displayDialog(self, message):
|
def displayDialog(self, message):
|
||||||
|
from MessageBox import MessageBox
|
||||||
messageBox = MessageBox(style=MessageBox.ICON_WARNING)
|
messageBox = MessageBox(style=MessageBox.ICON_WARNING)
|
||||||
messageBox.setText("MakeHazard")
|
messageBox.setText("MakeHazard")
|
||||||
messageBox.setMessage(message)
|
messageBox.setMessage(message)
|
||||||
|
|
Loading…
Add table
Reference in a new issue