summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui.py b/src/ui.py
index 0ea63b3..f933457 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -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