Workaround for SWT SettingsFrame focus
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@176 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
21ae628e7e
commit
414eb1e72c
|
@ -178,6 +178,8 @@ public class SwtGatewayTray implements DavGatewayTrayInterface {
|
||||||
public void run() {
|
public void run() {
|
||||||
settingsFrame.reload();
|
settingsFrame.reload();
|
||||||
settingsFrame.setVisible(true);
|
settingsFrame.setVisible(true);
|
||||||
|
// workaround for focus on first open
|
||||||
|
settingsFrame.setVisible(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -193,6 +195,8 @@ public class SwtGatewayTray implements DavGatewayTrayInterface {
|
||||||
public void run() {
|
public void run() {
|
||||||
settingsFrame.reload();
|
settingsFrame.reload();
|
||||||
settingsFrame.setVisible(true);
|
settingsFrame.setVisible(true);
|
||||||
|
// workaround for focus on first open
|
||||||
|
settingsFrame.setVisible(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue