SVN repository browser: make repository tree focused on start
authorirengrig <Irina.Chernushina@jetbrains.com>
Thu, 25 Feb 2010 12:15:14 +0000 (15:15 +0300)
committerirengrig <Irina.Chernushina@jetbrains.com>
Thu, 25 Feb 2010 12:15:14 +0000 (15:15 +0300)
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/RepositoryBrowserDialog.java

index 46c8c211c3605bdee39981d8497d1f5117a172d7..643064ad4fa88060e48becad3bd035de825daef9 100644 (file)
@@ -318,7 +318,7 @@ public class RepositoryBrowserDialog extends DialogWrapper {
   }
 
   public JComponent getPreferredFocusedComponent() {
-    return getRepositoryBrowser();
+    return (JComponent) getRepositoryBrowser().getPreferredFocusedComponent();
   }
 
   public boolean shouldCloseOnCross() {