mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-07 12:16:04 +00:00
Merge pull request #189 from gnh1201/dev
Minor fixes for the context menus
This commit is contained in:
commit
9cd4f2d744
|
@ -250,12 +250,11 @@ namespace WelsonJS.Launcher
|
|||
if (!Program.resourceServer.IsRunning())
|
||||
{
|
||||
Program.resourceServer.Start();
|
||||
((ToolStripMenuItem)sender).Text = "Stop the code editor...";
|
||||
((ToolStripMenuItem)sender).Text = "Open the code editor...";
|
||||
}
|
||||
else
|
||||
{
|
||||
Program.resourceServer.Stop();
|
||||
((ToolStripMenuItem)sender).Text = "Start the code editor...";
|
||||
Program.OpenWebBrowser(Program.resourceServer.GetPrefix());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -267,7 +266,7 @@ namespace WelsonJS.Launcher
|
|||
}
|
||||
else
|
||||
{
|
||||
Process.Start(Program.resourceServer.GetPrefix());
|
||||
Program.OpenWebBrowser(Program.resourceServer.GetPrefix());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user