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

[PATCH 2/2] Focus the dialog after a message window is closed



---
 pyanaconda/iw/partition_dialog_gui.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/iw/partition_dialog_gui.py b/pyanaconda/iw/partition_dialog_gui.py
index 26abd02..bfffd51 100644
--- a/pyanaconda/iw/partition_dialog_gui.py
+++ b/pyanaconda/iw/partition_dialog_gui.py
@@ -118,6 +118,7 @@ class PartitionEditor:
                     self.intf.messageWindow(_("Mount Point Error"),
                                             msg,
                                             custom_icon="error")
+                    self.dialog.present()
                     continue
 
                 used = False
@@ -135,6 +136,7 @@ class PartitionEditor:
                                               "use. Please pick another.") %
                                             (mountpoint,),
                                             custom_icon="error")
+                    self.dialog.present()
                     continue
 
             if not self.origrequest.exists:
-- 
1.7.3.2


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