From 4332d2151e109208623922b4befe2dc2f4504a9b Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 24 Aug 2025 09:27:14 +0200 Subject: [PATCH] vfs_dialog: ensure that one item is always selected --- rpcs3/rpcs3qt/vfs_dialog_path_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/vfs_dialog_path_widget.cpp b/rpcs3/rpcs3qt/vfs_dialog_path_widget.cpp index c0cfc7bb82..3685599977 100644 --- a/rpcs3/rpcs3qt/vfs_dialog_path_widget.cpp +++ b/rpcs3/rpcs3qt/vfs_dialog_path_widget.cpp @@ -77,9 +77,10 @@ vfs_dialog_path_widget::vfs_dialog_path_widget(const QString& name, const QStrin // Select new path m_selected_config_label->setText(path.isEmpty() ? EmptyPath : path); - update_selection(); break; } + + update_selection(); }); connect(m_dir_list, &QListWidget::itemDoubleClicked, this, [](QListWidgetItem* item)