[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH 7/9] Fixed the Finish button on the remove pool command.



From: "Darryl L. Pierce" <dpierce redhat com>

The command now confirms when a pool has been removed.
---
 src/virtManagerTui/removepool.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/virtManagerTui/removepool.py b/src/virtManagerTui/removepool.py
index 754ddf0..0561e75 100644
--- a/src/virtManagerTui/removepool.py
+++ b/src/virtManagerTui/removepool.py
@@ -64,10 +64,10 @@ class RemoveStoragePoolConfigScreen(StorageListConfigScreen):
         if page is CONFIRM_PAGE:
             self.get_libvirt().destroy_storage_pool(self.get_selected_pool())
             self.get_libvirt().undefine_storage_pool(self.get_selected_pool())
-            self.set_finished()
 
     def get_confirm_page(self, screen):
         ignore = screen
+        self.set_finished()
         self.__confirm = Checkbox("Check here to confirm deleting pool: %s" % self.get_selected_pool())
         fields = []
         fields.append((None, self.__confirm))
-- 
1.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]