Skip to content

check by app#1036

Merged
jginternational merged 2 commits into
masterfrom
hotfix-custom-smp
Jun 1, 2026
Merged

check by app#1036
jginternational merged 2 commits into
masterfrom
hotfix-custom-smp

Conversation

@jginternational
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 1, 2026 12:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aligns “write mode” checks with the active application’s configured write settings, and fixes write::GetWriteMode to read from the write configuration dict.

Changes:

  • Update write::GetWriteMode to use GetConfigurationAttribute write_mdpa_mode (instead of a non-existent ::write::GetAttribute).
  • Update spdAux::ProcShowInWriteMode to query write_mdpa_mode from the application (apps::ExecuteOnApp ... GetWriteProperty) rather than from the global write namespace.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
kratos.gid/scripts/Writing/Writing.tcl Fixes write::GetWriteMode to read the configured write_mdpa_mode from current_configuration.
kratos.gid/scripts/Controllers/CommonProcs.tcl Makes ShowInWriteMode evaluate the write mode using the owning app’s write property (write_mdpa_mode).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread kratos.gid/scripts/Controllers/CommonProcs.tcl Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jginternational jginternational merged commit 2670255 into master Jun 1, 2026
1 check passed
@jginternational jginternational deleted the hotfix-custom-smp branch June 1, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants