vfs_dialog: ensure that one item is always selected

This commit is contained in:
Megamouse
2025-08-24 09:27:14 +02:00
parent e56bc9d15f
commit 4332d2151e
+2 -1
View File
@@ -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)