-
Notifications
You must be signed in to change notification settings - Fork 71
[Bug 22285] Prevent PI custom props taking focus from SE #2077
Conversation
|
Thanks for the PR @BerndN. I should have said to submit the PR against I have rebased the PR for you. |
|
Hello Bernd, This patch does fix the problem with the script editor, but can throw an error in cases where For example if you open close the PI, open the SE and start moving the stack around, you'll get an error, because the custom props of the stack change (since you move the stack), so this handler is called, but then this will prevent the "key" field of the custom props in the Property Inspector from being highlighted when clicking on the treeView widget. So I think it should be better to have something more general, like: |
|
@livecodepanos it is more specific to the problem which is what you preferred. |
|
@BerndN This ^^^ will throw an error (you have to I believe @mwieder is right and we have to fix the root of the problem, which is probably that "idePropertyChanged" messages are still sent to the property inspector after it has been closed. I will ask the team to chime in and give some input. |
|
@livecodepanos Anyway the patch 2 I provided should not fire if the PI is closed. I agree that an explanation would be that the PI lingers somewhere may be in a parallel universe |
|
@BerndN LOL. And the "who is me" question is exactly why the error is triggered. I can't submit a patch on github to fix the unsubscribe message because it's in a binary stack. But it's a simple fix and someone on the team should have no problem with it. |
|
@mwieder revInspectorTemplate.livecodescript So you probably could do a pull request. |
|
Great. I always thought that what was missing in the PI was a beep . |
|
My patch submitted as #2078. |
|
@livecodepanos |

No description provided.