Show More
@@ -391,7 +391,7 b' class IGridGrid(wx.grid.Grid):' | |||
|
391 | 391 | keycode = event.GetKeyCode() |
|
392 | 392 | if keycode == ord("P"): |
|
393 | 393 | row = self.GetGridCursorRow() |
|
394 |
if |
|
|
394 | if sh: | |
|
395 | 395 | col = self.GetGridCursorCol() |
|
396 | 396 | self.pickattr(row, col) |
|
397 | 397 | else: |
@@ -404,13 +404,13 b' class IGridGrid(wx.grid.Grid):' | |||
|
404 | 404 | self.pickrows(sorted(self.current_selection)) |
|
405 | 405 | elif keycode in (wx.WXK_BACK, wx.WXK_DELETE, ord("X")) and not (ctrl or sh): |
|
406 | 406 | self.delete_current_notebook() |
|
407 |
elif keycode |
|
|
408 | row = self.GetGridCursorRow() | |
|
409 | self.enter(row) | |
|
410 | elif keycode == ord("E") and sh and not ctrl: | |
|
407 | elif keycode in (ord("E"), ord("\r")): | |
|
411 | 408 | row = self.GetGridCursorRow() |
|
412 | col = self.GetGridCursorCol() | |
|
413 |
self. |
|
|
409 | if sh: | |
|
410 | col = self.GetGridCursorCol() | |
|
411 | self.enterattr(row, col) | |
|
412 | else: | |
|
413 | self.enter(row) | |
|
414 | 414 | elif keycode == ord("E") and ctrl: |
|
415 | 415 | row = self.GetGridCursorRow() |
|
416 | 416 | self.SetGridCursor(row, self.GetNumberCols()-1) |
General Comments 0
You need to be logged in to leave comments.
Login now