diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -246,7 +246,10 @@ class KPMainWindow(QtGui.QMainWindow): @QtCore.pyqtSlot() def updateObjectSelector(self): - tileset = KPTileset.loadFromArc('/Users/Tempus/Dropbox/NEWERsmbw/Test3.arc') + try: + tileset = KPTileset.loadFromArc('/Users/Tempus/Dropbox/NEWERsmbw/Test3.arc') + except IOError: + tileset = KPTileset.loadFromArc('/home/me/Dropbox/NEWERsmbw/Test3.arc') self.objectSelector.setModel(tileset.getModel()) tileset.getModel().view = self.objectSelector |