Show More
@@ -1419,6 +1419,13 b' are you sure you want to review/edit and' | |||||
1419 | """ |
|
1419 | """ | |
1420 | edit the currently chelected chunk |
|
1420 | edit the currently chelected chunk | |
1421 | """ |
|
1421 | """ | |
|
1422 | def updateui(self): | |||
|
1423 | self.numpadlines = self.getnumlinesdisplayed(ignorefolding=True) + 1 | |||
|
1424 | self.chunkpad = curses.newpad(self.numpadlines, self.xscreensize) | |||
|
1425 | self.updatescroll() | |||
|
1426 | self.stdscr.refresh() | |||
|
1427 | self.statuswin.refresh() | |||
|
1428 | self.stdscr.keypad(1) | |||
1422 |
|
1429 | |||
1423 | def editpatchwitheditor(self, chunk): |
|
1430 | def editpatchwitheditor(self, chunk): | |
1424 | if chunk is None: |
|
1431 | if chunk is None: | |
@@ -1501,12 +1508,7 b' are you sure you want to review/edit and' | |||||
1501 | self.currentselecteditem = header |
|
1508 | self.currentselecteditem = header | |
1502 |
|
1509 | |||
1503 | if not test: |
|
1510 | if not test: | |
1504 | self.numpadlines = self.getnumlinesdisplayed(ignorefolding=True) + 1 |
|
1511 | updateui(self) | |
1505 | self.chunkpad = curses.newpad(self.numpadlines, self.xscreensize) |
|
|||
1506 | self.updatescroll() |
|
|||
1507 | self.stdscr.refresh() |
|
|||
1508 | self.statuswin.refresh() |
|
|||
1509 | self.stdscr.keypad(1) |
|
|||
1510 |
|
1512 | |||
1511 | def emptypatch(self): |
|
1513 | def emptypatch(self): | |
1512 | item = self.headerlist |
|
1514 | item = self.headerlist |
General Comments 0
You need to be logged in to leave comments.
Login now