Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OptionsAction Initialization crash if list empty: Need to handle when empty list is passed #613

Open
sbvis opened this issue May 7, 2024 · 0 comments

Comments

@sbvis
Copy link
Contributor

sbvis commented May 7, 2024

Example from the cluster differential expression plugin(https://github.com/ManiVaultStudio/ClusterDifferentialExpressionPlugin/blob/41ad57c3f9236a7de6fce70d107b884a89b5b8c2/src/LoadedDatasetsAction.cpp#L115):

    if (!clusterNames.isEmpty()) //need to add this check in the LoadedDatasetsAction.cpp
    {
        QStringList firstItemSelectedList;
        firstItemSelectedList.append(clusterNames.first());
        clusterOptionsAction.initialize(clusterNames, firstItemSelectedList);
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant