Skip to content

fixed the typo dectected. also in the older versions, importPart could not open the file dialog #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion checkAssembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def Activated(self):
FreeCAD.Console.PrintError( message + '\n' )
response = QtGui.QMessageBox.critical(QtGui.qApp.activeWindow(), "Assembly Check", message + errorMsg)#, flags)
else:
QtGui.QMessageBox.information( QtGui.qApp.activeWindow(), "Assembly Check", "Passed:\n - No overlap/interferance dectected." + errorMsg)
QtGui.QMessageBox.information( QtGui.qApp.activeWindow(), "Assembly Check", "Passed:\n - No overlap/interferance detected." + errorMsg)
def GetResources(self):
msg = 'Check assembly for part overlap/interferance'
return {
Expand Down
2 changes: 1 addition & 1 deletion importPart.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def Activated(self):
# "FreeCAD Document (*.fcstd)"
# )
dialog = QtGui.QFileDialog(
QtGui.qApp.activeWindow(),
QtGui.QApplication.activeWindow(),
"Select FreeCAD document to import part from"
)
dialog.setNameFilter("Supported Formats (*.FCStd *.brep *.brp *.imp *.iges *.igs *.obj *.step *.stp);;All files (*.*)")
Expand Down