ui: refresh eventlog when folder list changes
This commit is contained in:
parent
c6b2b90db9
commit
6c1e513298
|
@ -148,8 +148,10 @@ namespace SparkleShare {
|
|||
|
||||
SparkleShare.Controller.FolderListChanged += delegate {
|
||||
InvokeOnMainThread (delegate {
|
||||
if (EventLog != null)
|
||||
if (EventLog != null) {
|
||||
EventLog.UpdateChooser ();
|
||||
EventLog.UpdateEvents ();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -116,8 +116,10 @@ namespace SparkleShare {
|
|||
|
||||
SparkleShare.Controller.FolderListChanged += delegate {
|
||||
Application.Invoke (delegate {
|
||||
if (EventLog != null)
|
||||
if (EventLog != null) {
|
||||
EventLog.UpdateChooser ();
|
||||
EventLog.UpdateEvents ();
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue