Author: mlytwyn
Date: Mon Jul 20 21:50:40 2015
New Revision: 38816

URL: http://svn.gna.org/viewcvs/gnustep?rev=38816&view=rev
Log:
Add comment for removing merge on bug# 6150 fix

Modified:
    libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m

Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m?rev=38816&r1=38815&r2=38816&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m       
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m       Mon Jul 
20 21:50:40 2015
@@ -88,6 +88,7 @@
 {
   // Reset the _selected attribute to prevent crash when -dealloc calls
   // -setNextKeyView:
+  // Testplant-MAL-2015-07-20: Keep Frank LeGrand's fix...
   _original_nextKeyView = nil;
   _selected = nil;
   RELEASE(_items);
@@ -263,22 +264,24 @@
       selectedView = [_selected view];
       if (selectedView != nil)
         {
-             NSView *firstResponder;
-         
+          NSView *firstResponder;
+          
           [self addSubview: selectedView];
-             // FIXME: We should not change this mask
+          // FIXME: We should not change this mask
           [selectedView setAutoresizingMask:
-             NSViewWidthSizable | NSViewHeightSizable];
+           NSViewWidthSizable | NSViewHeightSizable];
           [selectedView setFrame: [self contentRect]];
-             firstResponder = [_selected initialFirstResponder];
-             if (firstResponder == nil)
-               {
-                 firstResponder = [_selected view];
-                 [_selected setInitialFirstResponder: firstResponder];
-             [firstResponder _setUpKeyViewLoopWithNextKeyView:
-               _original_nextKeyView];
-               }
-         [super setNextKeyView: firstResponder];
+          firstResponder = [_selected initialFirstResponder];
+          if (firstResponder == nil)
+            {
+              firstResponder = [_selected view];
+              [_selected setInitialFirstResponder: firstResponder];
+              [firstResponder _setUpKeyViewLoopWithNextKeyView:
+               _original_nextKeyView];
+            }
+          
+          // Testplant-MAL-2015-07-20: Keep Frank LeGrand's fix...
+          [super setNextKeyView: firstResponder];
           [_window makeFirstResponder: firstResponder];
         }
       


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to