Skip to content

Safe mode resets when opening a new table #1351

Closed

Description

@datlechin

What happened?

Safe mode turns off after opening a new table, so write protection is silently lost.

Steps to reproduce

  1. Enable safe mode
  2. Open a different table
  3. Safe mode is no longer active

Expected behavior

Safe mode persists across table opens within the connection until the user changes it.

Code pointer

safeModeLevel is read in TablePro/Core/Coordinators/RowEditingCoordinator.swift and surfaced via TablePro/Views/Toolbar/SafeModeBadgeView.swift. The level appears to be reset on tab/table open instead of carried over.

Database type

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions