Changeset 4915


Ignore:
Timestamp:
11/30/03 00:03:00 (18 years ago)
Author:
piso
Message:

keyPressed(): in VK_TAB case, call sidebar.setBuffer() before setting focus to
bottom component.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/SidebarBufferTree.java

    r3909 r4915  
    33 *
    44 * Copyright (C) 2003 Mike Rutter, Peter Graves
    5  * $Id: SidebarBufferTree.java,v 1.6 2003-09-19 23:29:31 piso Exp $
     5 * $Id: SidebarBufferTree.java,v 1.7 2003-11-30 00:03:00 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    413413                e.consume();
    414414                if (modifiers == 0) {
    415                     if (sidebar.getBottomComponent() != null)
     415                    if (sidebar.getBottomComponent() != null) {
     416                        sidebar.setBuffer();
    416417                        editor.setFocus((JComponent)sidebar.getBottomComponent());
     418                    }
    417419                }
    418420                return;
     
    423425                    popup = null;
    424426                } else {
    425                     editor.getSidebar().setBuffer();
    426                     editor.getSidebar().updatePosition();
     427                    sidebar.setBuffer();
    427428                    editor.setFocusToDisplay();
    428429                }
Note: See TracChangeset for help on using the changeset viewer.