Skip to content

Conversation

wolftxt
Copy link

@wolftxt wolftxt commented Sep 11, 2025

An implementation of #4710
Implements an Action seen in the popup shown when right-clicking an opened file and a button in the Menu Bar. (see screenshot)

screenshot

The Menu button is disabled when a different menu is selected.

IMPORTANT

I also implemented the feature in wolftxt@ee5dff6#diff-71678d0b96847081e80dbff752c8f8fbd5ddb104b0aca14c5f647b0d5577a890R330-R332
and in
wolftxt@ee5dff6#diff-bcff9302585f23230582eec38b02969456405f636b6c490c3e9c10e8c8c83e23R195
(Classes TabbedHandler and TabbedContainer)

Even through i don't think this part of the code does anything, but I implemented close right here as well just in case. I do not believe that this part of the code does anything because I was not able to reproduce any other string values of the cmd variable other than "select" or "popup".

Therefore I think that this part (along with all other parts of this method that depend on the variable cmd being any different than "select" or "popup") should be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant