events: fix window focus
This commit is contained in:
parent
ebd48102db
commit
45e3ea8941
|
@ -32,7 +32,6 @@ namespace SparkleShare {
|
|||
|
||||
public class SparkleEventLog : NSWindow {
|
||||
|
||||
|
||||
private WebView WebView;
|
||||
private NSBox Separator;
|
||||
private string HTML;
|
||||
|
@ -41,6 +40,7 @@ namespace SparkleShare {
|
|||
private List<SparkleChangeSet> change_sets;
|
||||
private string selected_log = null;
|
||||
|
||||
|
||||
public SparkleEventLog (IntPtr handle) : base (handle) { }
|
||||
|
||||
public SparkleEventLog () : base ()
|
||||
|
|
|
@ -163,6 +163,9 @@ namespace SparkleShare {
|
|||
|
||||
if (SparkleUI.EventLog == null)
|
||||
SparkleUI.EventLog = new SparkleEventLog ();
|
||||
|
||||
SparkleUI.EventLog.OrderFrontRegardless ();
|
||||
SparkleUI.EventLog.MakeKeyAndOrderFront (this);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue