Revision: 26722
          http://sourceforge.net/p/bibdesk/svn/26722
Author:   hofman
Date:     2021-08-23 16:47:04 +0000 (Mon, 23 Aug 2021)
Log Message:
-----------
Make sure group view controllers have their views loaded, this is not done 
automatically as adding them happens async

Modified Paths:
--------------
    trunk/bibdesk/BibDocument_Groups.m

Modified: trunk/bibdesk/BibDocument_Groups.m
===================================================================
--- trunk/bibdesk/BibDocument_Groups.m  2021-08-23 16:32:21 UTC (rev 26721)
+++ trunk/bibdesk/BibDocument_Groups.m  2021-08-23 16:47:04 UTC (rev 26722)
@@ -126,8 +126,10 @@
 #pragma mark Search group view
 
 - (void)showSearchGroupView {
-    if (nil == searchGroupViewController)
+    if (nil == searchGroupViewController) {
         searchGroupViewController = [[BDSKSearchGroupViewController alloc] 
init];
+        [searchGroupViewController view];
+    }
     [self addControlView:BDSKControlViewSearchGroup];
     
     BDSKSearchGroup *group = [[self selectedGroups] firstObject];
@@ -145,8 +147,10 @@
 #pragma mark Web Group 
 
 - (void)showWebGroupView {
-    if (webGroupViewController == nil)
+    if (webGroupViewController == nil) {
         webGroupViewController = [[BDSKWebGroupViewController alloc] init];
+        [webGroupViewController view];
+    }
     [self addControlView:BDSKControlViewWebGroup];
 
     WebView *oldWebView = [webGroupViewController webView];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to