mirror of
https://github.com/wassname/sloth.git
synced 2026-09-10 12:31:29 +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())
|
self.controls.setFrameNumAndTimestamp(item.framenum(), item.timestamp())
|
||||||
elif isinstance(new_image, ImageFileModelItem):
|
elif isinstance(new_image, ImageFileModelItem):
|
||||||
self.controls.setFilename(os.path.basename(new_image['filename']))
|
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):
|
def initShortcuts(self, HOTKEYS):
|
||||||
self.shortcuts = []
|
self.shortcuts = []
|
||||||
|
|||||||
Reference in New Issue
Block a user