This repository was archived by the owner on Aug 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1009,7 +1009,7 @@ def menuA2JBridge(self, started):
1009
1009
if gDBus .jack and not gDBus .jack .IsStarted ():
1010
1010
self .ui .act_tools_a2j_start .setEnabled (False )
1011
1011
self .ui .act_tools_a2j_stop .setEnabled (False )
1012
- self .ui .act_tools_a2j_export_hw .setEnabled (gDBus .a2j and not gDBus .a2j .is_started ())
1012
+ self .ui .act_tools_a2j_export_hw .setEnabled (bool ( gDBus .a2j ) and not gDBus .a2j .is_started ())
1013
1013
else :
1014
1014
self .ui .act_tools_a2j_start .setEnabled (not started )
1015
1015
self .ui .act_tools_a2j_stop .setEnabled (started )
Original file line number Diff line number Diff line change @@ -1515,7 +1515,7 @@ def menuA2JBridge(self, started):
1515
1515
if not gDBus .jack .IsStarted ():
1516
1516
self .ui .act_tools_a2j_start .setEnabled (False )
1517
1517
self .ui .act_tools_a2j_stop .setEnabled (False )
1518
- self .ui .act_tools_a2j_export_hw .setEnabled (gDBus .a2j and not gDBus .a2j .is_started ())
1518
+ self .ui .act_tools_a2j_export_hw .setEnabled (bool ( gDBus .a2j ) and not gDBus .a2j .is_started ())
1519
1519
else :
1520
1520
self .ui .act_tools_a2j_start .setEnabled (not started )
1521
1521
self .ui .act_tools_a2j_stop .setEnabled (started )
You can’t perform that action at this time.
0 commit comments