Bugfix in macro

This commit is contained in:
Yorik van Havre 2015-12-15 16:08:10 -02:00
parent 40d6827517
commit 25954c93a2

View file

@ -200,9 +200,9 @@ class ExpDockWidget(QtGui.QDockWidget):
if not repo.remotes:
FreeCAD.Console.PrintWarning("No remote repository set.\n")
if not repo:
updatebutton.setEnabled(False)
configbutton.setEnabled(False)
pushbutton.setEnabled(False)
self.updatebutton.setEnabled(False)
self.configbutton.setEnabled(False)
self.pushbutton.setEnabled(False)
self.retranslateUi()
container.setLayout(grid)