mirror of
https://github.com/wassname/sloth.git
synced 2026-06-28 23:42:17 +08:00
Don't mess with selection when changing the image for now
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user