Don't mess with selection when changing the image for now

This commit is contained in:
Mika Fischer
2011-06-16 20:15:48 +02:00
parent b006b2d4f8
commit 681bf970f2
-2
View File
@@ -58,8 +58,6 @@ class MainWindow(QMainWindow):
self.controls.setFrameNumAndTimestamp(item.framenum(), item.timestamp())
elif isinstance(new_image, ImageFileModelItem):
self.controls.setFilename(os.path.basename(new_image['filename']))
if new_image.index() != self.treeview.currentIndex():
self.treeview.setCurrentIndex(new_image.index())
def initShortcuts(self, HOTKEYS):
self.shortcuts = []