minor bugfix: reverse search (ctrl+f, shift+enter)
This commit is contained in:
parent
8c3f4859b4
commit
131d0b5853
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: RadioLogger.java,v 1.38 2010/10/12 10:31:22 fros4943 Exp $
|
* $Id: RadioLogger.java,v 1.39 2010/10/13 11:31:10 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.plugins;
|
package se.sics.cooja.plugins;
|
||||||
|
@ -274,7 +274,7 @@ public class RadioLogger extends VisPlugin {
|
||||||
timeLineAction.actionPerformed(null);
|
timeLineAction.actionPerformed(null);
|
||||||
logListenerAction.actionPerformed(null);
|
logListenerAction.actionPerformed(null);
|
||||||
} else if (e.getKeyCode() == KeyEvent.VK_F &&
|
} else if (e.getKeyCode() == KeyEvent.VK_F &&
|
||||||
(e.getModifiers() & MouseEvent.CTRL_MASK) != 0) {
|
(e.getModifiers() & KeyEvent.CTRL_MASK) != 0) {
|
||||||
searchField.setVisible(true);
|
searchField.setVisible(true);
|
||||||
searchField.requestFocus();
|
searchField.requestFocus();
|
||||||
searchField.selectAll();
|
searchField.selectAll();
|
||||||
|
@ -371,7 +371,7 @@ public class RadioLogger extends VisPlugin {
|
||||||
if (e.getKeyCode() == KeyEvent.VK_ENTER) {
|
if (e.getKeyCode() == KeyEvent.VK_ENTER) {
|
||||||
searchSelectNext(
|
searchSelectNext(
|
||||||
searchField.getText(),
|
searchField.getText(),
|
||||||
(e.getModifiers() & MouseEvent.SHIFT_DOWN_MASK) != 0);
|
(e.getModifiers() & KeyEvent.SHIFT_MASK) != 0);
|
||||||
} else if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
|
} else if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
|
||||||
searchField.setVisible(false);
|
searchField.setVisible(false);
|
||||||
dataTable.requestFocus();
|
dataTable.requestFocus();
|
||||||
|
|
Loading…
Reference in a new issue