fix 'is_active' does not work
Signed-off-by: lilinjie <lilinjie@uniontech.com>
This commit is contained in:
parent
dcda73403d
commit
c503d3ec50
1 changed files with 1 additions and 1 deletions
|
|
@ -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.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue