Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[Bug 19347] Allow setting the 'style' of the stack from the PI #1631

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

livecodepanos
Copy link
Contributor

No description provided.

@livecodepanos livecodepanos added this to the 9.0.0-dp-7 milestone Jun 14, 2017
@livecodepanos
Copy link
Contributor Author

livecodepanos commented Jun 14, 2017

This PR fixes the problem, but I am not sure if setting the style of the stack should be feasible from the Property Inspector. If someone sets the style to modal accidentally, there is no way to undo that, other than force-quitting the IDE.

@livecodepanos livecodepanos modified the milestones: 9.0.0-dp-8, 9.0.0-dp-7 Jun 17, 2017
@montegoulding
Copy link
Member

@livecodepanos what about checking if the stack is currently open before setting the style to modal and throwing up a warning dialog first if it is? We have the same issue from the contextual menu I think so perhaps this can be handled centrally.

@livecodepanos livecodepanos removed the WIP label Aug 3, 2017
@@ -7,7 +7,7 @@ name
title
mainStack
decorations
style Toplevel,Modeless,Modal,Palette
style Toplevel Toplevel,Modeless,Modal,Palette
Copy link
Member

Choose a reason for hiding this comment

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

If you do style::revIDESetModeOfStack here, it will use the revIDESetModeOfStack as the property setter, so you can remove your change to revIDEPropertySet (in theory)

@livecodepanos livecodepanos removed this from the 9.0.0-dp-9 milestone Oct 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants