mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* make sure the main window is not displayed out of screen bounds
This commit is contained in:
parent
8e857c498f
commit
ccd66ff773
@ -228,8 +228,8 @@ public class Main {
|
||||
// restore previous size and location
|
||||
restoreWindowBounds(frame, Settings.forPackage(MainFrame.class));
|
||||
} catch (Exception e) {
|
||||
// just use platform default location
|
||||
frame.setLocationByPlatform(true);
|
||||
// make sure the main window is not displayed out of screen bounds
|
||||
frame.setLocation(120, 80);
|
||||
}
|
||||
|
||||
frame.addWindowListener(new WindowAdapter() {
|
||||
|
Loading…
Reference in New Issue
Block a user