clear data fix

This commit is contained in:
Dmitriy Yefremov
2018-01-06 15:24:56 +03:00
parent 6dccdc258a
commit 347dd15233
2 changed files with 27 additions and 1 deletions

View File

@@ -1,4 +1,25 @@
# DemonEditor
Experimental branch! For support Neutrino-MP.
Enigma2 channel and satellites list editor for GNU/Linux.
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.
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.
Ability to import IPTV into bouquet from m3u files!
Tests only on OpenPLi based image with GM 990 Spark Reloaded receiver
in my preferred linux distro (Last Linux Mint 18.* - MATE 64-bit)!
Minimum requirements: Python >= 3.5.2 and GTK+ 3 with PyGObject bindings.
Terrestrial and cable channels at the moment are not supported!

View File

@@ -500,6 +500,10 @@ class MainAppWindow:
self.__fav_model.clear()
self.__services_model.clear()
self.__blacklist.clear()
self.__services.clear()
self.__rows_buffer.clear()
self.__bouquets.clear()
self.__bouquets_to_del.clear()
def on_data_save(self, *args):
if show_dialog(DialogType.QUESTION, self.__main_window) == Gtk.ResponseType.CANCEL:
@@ -608,6 +612,7 @@ class MainAppWindow:
self.__profile_label.set_text("Enigma 2 v.4" if Profile(profile) is Profile.ENIGMA_2 else "Neutrino-MP")
self.__profile = profile
self.clear_current_data()
self.update_services_counts()
def on_tree_view_key_release(self, view, event):
""" Handling keystrokes """