4165d6699a
related: rhbz#2133815 fixed possible traceback on SIGHUP resolves: rhbz#2169712 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
27 lines
782 B
Diff
27 lines
782 B
Diff
From c503d3ec5022de8d8aff66e4ac2fabe73bf77a9d Mon Sep 17 00:00:00 2001
|
|
From: lilinjie <lilinjie@uniontech.com>
|
|
Date: Thu, 9 Feb 2023 10:15:51 +0800
|
|
Subject: [PATCH] fix 'is_active' does not work
|
|
|
|
Signed-off-by: lilinjie <lilinjie@uniontech.com>
|
|
---
|
|
tuned-gui.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tuned-gui.py b/tuned-gui.py
|
|
index 3159a96..b32cf64 100755
|
|
--- a/tuned-gui.py
|
|
+++ b/tuned-gui.py
|
|
@@ -362,7 +362,7 @@ class Base(object):
|
|
if profile is None:
|
|
self.error_dialog('No profile selected!', '')
|
|
return
|
|
- if self._gobj('windowProfileEditor').is_active():
|
|
+ if self._gobj('windowProfileEditor').is_visible():
|
|
self.error_dialog('You are editing '
|
|
+ self.editing_profile_name
|
|
+ ' profile.',
|
|
--
|
|
2.39.1
|
|
|