setup: Don't block the UI when creating a startup item
This commit is contained in:
parent
22714823fd
commit
59b37fc5cc
|
@ -296,7 +296,7 @@ namespace SparkleShare {
|
||||||
HideWindowEvent ();
|
HideWindowEvent ();
|
||||||
|
|
||||||
if (this.create_startup_item)
|
if (this.create_startup_item)
|
||||||
Program.Controller.CreateStartupItem ();
|
new Thread (() => Program.Controller.CreateStartupItem ()).Start ();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ChangePageEvent (PageType.Tutorial, null);
|
ChangePageEvent (PageType.Tutorial, null);
|
||||||
|
|
Loading…
Reference in a new issue