Issue #467: parameter resizing bug fixed

This commit is contained in:
Honfika
2014-01-02 17:58:10 +01:00
parent 6a4b405ee9
commit b8599c76f9

View File

@@ -639,7 +639,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
previewSplitPane.addPropertyChangeListener(JSplitPane.DIVIDER_LOCATION_PROPERTY, new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent pce) {
if (splitsInited) {
if (splitsInited && previewSplitPane.getRightComponent().isVisible()) {
Configuration.guiPreviewSplitPaneDividerLocation.set((int) pce.getNewValue());
}
}