V0.9.26
This commit is contained in:
@@ -2257,6 +2257,9 @@ class MainWindow(QMainWindow):
|
||||
current_vis_row = current_proxy_idx.row()
|
||||
|
||||
total_visible = self.proxy_model.rowCount()
|
||||
if total_visible == 0:
|
||||
return
|
||||
|
||||
grid_size = self.thumbnail_view.gridSize()
|
||||
if grid_size.width() == 0:
|
||||
return
|
||||
@@ -2273,7 +2276,7 @@ class MainWindow(QMainWindow):
|
||||
elif e.key() == Qt.Key_Up:
|
||||
next_vis_row -= cols
|
||||
elif e.key() in (Qt.Key_Return, Qt.Key_Enter):
|
||||
if current_proxy_idx.isValid():
|
||||
if current_proxy_idx and current_proxy_idx.isValid():
|
||||
self.open_viewer(current_proxy_idx)
|
||||
return
|
||||
else:
|
||||
@@ -4497,6 +4500,8 @@ class MainWindow(QMainWindow):
|
||||
UITexts.CONTEXT_MENU_OPEN)
|
||||
full_path = os.path.abspath(
|
||||
self.proxy_model.data(selected_indexes[0], PATH_ROLE))
|
||||
p_data = self.proxy_model.data(selected_indexes[0], PATH_ROLE)
|
||||
full_path = os.path.abspath(p_data) if p_data else ""
|
||||
self.populate_open_with_submenu(open_submenu, full_path)
|
||||
|
||||
action_open_fullscreen = menu.addAction(
|
||||
|
||||
Reference in New Issue
Block a user