mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-04 08:25:03 -05:00
* restoreWindowBounds not working
This commit is contained in:
parent
12cf2f7411
commit
bb38864e69
@ -255,6 +255,13 @@ public class Main {
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
// restore previous size and location
|
||||
restoreWindowBounds(frame, Settings.forPackage(MainFrame.class));
|
||||
} catch (Exception e) {
|
||||
// don't care, doesn't make a difference
|
||||
}
|
||||
|
||||
frame.setLocationByPlatform(true);
|
||||
frame.addWindowListener(new WindowAdapter() {
|
||||
|
||||
@ -271,13 +278,6 @@ public class Main {
|
||||
}
|
||||
});
|
||||
|
||||
try {
|
||||
// restore previous size and location
|
||||
restoreWindowBounds(frame, Settings.forPackage(MainFrame.class));
|
||||
} catch (Exception e) {
|
||||
// don't care, doesn't make a difference
|
||||
}
|
||||
|
||||
// start application
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ public class SinglePanelFrame extends JFrame {
|
||||
c.add(headerPanel, "growx, dock north");
|
||||
c.add(panel);
|
||||
|
||||
setSize(760, 615);
|
||||
setSize(760, 480);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user