mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2025-12-21 07:59:40 +01:00
added verification on service type before rename for the bouquet
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user