Add binding on MiddleClick to remove file being tailed#153
Add binding on MiddleClick to remove file being tailed#153rc201612 wants to merge 2 commits intoRolandPheasant:masterfrom rc201612:master
Conversation
|
The command you hooked into will remove the selected filter not the file. To remove the file the bindings / command would need to be hooked into WindowViewModel / MainWindow and the actual file would have to be removed from the observable collection (Views) |
|
Apologies, it was meant to say filter. I don't know why I wrote file.. Will do similar for removing file. |
|
I think the idea of a short cut to remove the filter is good. However I wonder whether there is a more explicit short cut option? |
|
I think a shortcut would definitely be useful. What shortcut do you have in mind? I was thinking that Ctrl+ W could be used to close the file, and Middle-Clicking on a filter could remove the filter. It's a bit easier than trying to locate the small X and pressing it. |
|
I think middle click to remove the file is even more important as that's a pretty common shortcut |
Quite a trivial change, but I feel it adds something. Added an input binding on Middle Click to close / remove file being tailed.