Skip to content

Commit

Permalink
Fix #5710.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylangisc committed Feb 19, 2011
1 parent 5bd972e commit e935392
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/ch/cyberduck/ui/controller/MainController.cs
Expand Up @@ -210,6 +210,10 @@ protected virtual void InitializeAppProperties()
/// </summary>
public virtual void Run()
{
// set up the main form.
_bc = NewBrowser(true, true);
MainForm = _bc.View as Form;

if (CommandLineArgs.Count > 0)
{
string filename = CommandLineArgs[0];
Expand Down Expand Up @@ -255,10 +259,6 @@ public virtual void Run()
}
}

// set up the main form.
_bc = NewBrowser(true, true);
MainForm = _bc.View as Form;

if (CommandLineArgs.Count > 0)
{
string filename = CommandLineArgs[0];
Expand Down

0 comments on commit e935392

Please sign in to comment.