Fixed an issue with copying icon files.

This commit is contained in:
Joey Payne 2014-04-04 07:54:31 -06:00
commit da1b11627a

View file

@ -790,8 +790,8 @@ class MainWindow(QtGui.QWidget):
for setting in sgroup.values():
if setting.type == 'file' and setting.value:
try:
setting.value = os.path.basename(setting.value)
shutil.copy(setting.value, self.projectDir())
setting.value = os.path.basename(setting.value)
except shutil.Error as e:#same file warning
log( 'Warning: {}'.format(e))