26 lines
733 B
Diff
26 lines
733 B
Diff
From f5a69ca8a7b602fdb79ae56425a2e36d6fb501a4 Mon Sep 17 00:00:00 2001
|
|
From: lilinjie <lilinjie@uniontech.com>
|
|
Date: Tue, 7 Mar 2023 13:38:46 +0800
|
|
Subject: [PATCH] fix 'is_active' does not work
|
|
|
|
---
|
|
tuned-gui.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tuned-gui.py b/tuned-gui.py
|
|
index 3953f82..746789b 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 ediding '
|
|
+ self.editing_profile_name
|
|
+ ' profile.',
|
|
--
|
|
2.31.1
|
|
|