Skip to content

Crash when opening Settings with empty Bible versions #77

Description

@AbleToCode

Opening Edit -> Settings can terminate the app immediately.

Repro:

  1. Start SoftProjector
  2. Click Edit -> Settings
  3. Process exits abnormally

Root cause:
If BibleVersions is empty, Settings initialization reaches Bible selector rebuild logic and attempts list removal with an invalid index (-1). This triggers an out-of-range abort in Qt container operations.

Expected:
Settings dialog must open safely even when no Bible versions exist, with fallback/disabled Bible selectors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions