From 728bfd0b2053d6e2913e73418b1a5f7e5dcfb757 Mon Sep 17 00:00:00 2001 From: Dmitriy Yefremov Date: Thu, 25 Jan 2018 21:43:48 +0300 Subject: [PATCH] added remove selection keys --- README.md | 6 ++++-- app/ui/main_app_window.py | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c0116c4..552d4a22 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,16 @@ Experimental support of Neutrino-MP or others on the same basis (BPanther, etc). Focused on the convenience of working in lists from the keyboard. The mouse is also fully supported (Drag and Drop etc) Keyboard shortcuts: -Ctrl + X, C, V, Up, Down, PageUp, PageDown, S, T, E, L, H, Space; Insert, Delete, F2. +Ctrl + X, C, V, Up, Down, PageUp, PageDown, S, T, E, L, H, Space; Insert, Delete, F2. Insert - copies the selected channels from the main list to the bouquet or inserts (creates) a new bouquet. Ctrl + X - only in bouquet list. Ctrl + C - only in services list. Clipboard is "rubber". There is an accumulation before the insertion! Ctrl + E, F2 - edit/rename. Ctrl + S, T, E in Satellites edit tool for create and edit satellite or transponder. Ctrl + L - parental lock. -Ctrl + H - hide/skip. +Ctrl + H - hide/skip. +Left/Right - remove selection. + Multiple selections in lists only with Space key (as in file managers)! Extra: diff --git a/app/ui/main_app_window.py b/app/ui/main_app_window.py index 5ab439dc..753a6a65 100644 --- a/app/ui/main_app_window.py +++ b/app/ui/main_app_window.py @@ -678,6 +678,8 @@ class MainAppWindow: self.on_edit(view) elif key == Gdk.KEY_space and model_name == self._FAV_LIST_NAME: pass + elif key == Gdk.KEY_Left or key == Gdk.KEY_Right: + view.do_unselect_all(view) def on_download(self, item): show_download_dialog(transient=self.__main_window,