[master/rhel7-branch][PATCH] Do nothing if previously selected selector gets focus again (#1029798)
Vratislav Podzimek
vpodzime at redhat.com
Thu Mar 6 14:55:20 UTC 2014
If the previously selected selector gets focus again, we don't have to refresh
the right side of the custom spoke and potentially ruin a lot of things.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/ui/gui/spokes/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 40301b4..19b0627 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2554,7 +2554,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
self._clear_current_selector()
def on_selector_clicked(self, selector):
- if not self._initialized:
+ if not self._initialized or (self._current_selector is selector):
return
# Take care of the previously chosen selector.
--
1.8.5.3
More information about the anaconda-patches
mailing list