From 118734d7fb3e4ca37a826227d93f5d3a63859e75 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Thu, 26 Feb 2026 11:35:05 +0300 Subject: [PATCH] minor fix for EPG tab settings popover --- app/ui/epg/epg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/ui/epg/epg.py b/app/ui/epg/epg.py index 930fc212..a26a73c1 100644 --- a/app/ui/epg/epg.py +++ b/app/ui/epg/epg.py @@ -2,7 +2,7 @@ # # The MIT License (MIT) # -# Copyright (c) 2018-2025 Dmitriy Yefremov +# Copyright (c) 2018-2026 Dmitriy Yefremov # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -568,6 +568,7 @@ class TabEpgSettingsPopover(EpgSettingsPopover): self._url_combo_box.get_model().clear() [self._url_combo_box.append(i, i) for i in settings.epg_xml_sources if i] self._url_combo_box.set_active_id(settings.epg_xml_source) + self._remove_url_button.set_sensitive(len(self._url_combo_box.get_model()) > 1) def on_apply(self, button): settings = self._app.app_settings