If the Details page of a container is show when hitting the Run button,
switching back to the Console page, doesn't show the text console. By
updating the default console even if the Console page isn't show we
won't have this anymore.
---
 virtManager/details.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/virtManager/details.py b/virtManager/details.py
index ddcacae..aa10912 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -1345,8 +1345,6 @@ class vmmDetails(vmmGObjectUI):
 
     def activate_default_console_page(self):
         pages = self.widget("details-pages")
-        if pages.get_current_page() != DETAILS_PAGE_CONSOLE:
-            return
         self.console.activate_default_console_page()
 
     # activate_* are called from engine.py via CLI options
-- 
2.1.2

_______________________________________________
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to