added verification on service type before rename for the bouquet

This commit is contained in:
DYefremov
2018-09-16 23:40:02 +03:00
parent 8850ff910c
commit 08a31e9aa0

View File

@@ -1225,7 +1225,7 @@ class MainAppWindow:
if srv_type == BqServiceType.IPTV.name: if srv_type == BqServiceType.IPTV.name:
show_dialog(DialogType.ERROR, self._main_window, "This item is not allowed to edit!") show_dialog(DialogType.ERROR, self._main_window, "This item is not allowed to edit!")
return return
response = show_dialog(DialogType.INPUT, self._main_window, cur_name) response = show_dialog(DialogType.INPUT, self._main_window, cur_name)
if response == Gtk.ResponseType.CANCEL: if response == Gtk.ResponseType.CANCEL: