It's irritating to have to enter a passphrase before you can see the
summary of scheduled actions.
---
pyanaconda/ui/gui/spokes/custom.py | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 1a1cfd9..8fb8b74 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1606,6 +1606,20 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# First, save anything from the currently displayed mountpoint.
self._save_right_side(self._current_selector)
+ # And then display the summary screen. From there, the user will either
+ # head back to the hub, or stay on the custom screen.
+ self.__storage.devicetree.pruneActions()
+ self.__storage.devicetree.sortActions()
+
+ dialog = ActionSummaryDialog(self.data)
+ with enlightbox(self.window, dialog.window):
+ dialog.refresh(self.__storage.devicetree.findActions())
+ rc = dialog.run()
+
+ if rc == 0:
+ # Cancel. Stay on the custom screen.
+ return
+
# Then if they did anything that resulted in new LUKS devices, we need
# to prompt for passphrases.
new_luks = any(d for d in self.__storage.devices
@@ -1621,20 +1635,6 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
self.passphrase = dialog.passphrase
- # And then display the summary screen. From there, the user will either
- # head back to the hub, or stay on the custom screen.
- self.__storage.devicetree.pruneActions()
- self.__storage.devicetree.sortActions()
-
- dialog = ActionSummaryDialog(self.data)
- with enlightbox(self.window, dialog.window):
- dialog.refresh(self.__storage.devicetree.findActions())
- rc = dialog.run()
-
- if rc == 0:
- # Cancel. Stay on the custom screen.
- return
-
NormalSpoke.on_back_clicked(self, button)
def on_add_clicked(self, button):
--
1.8.1.4