ui/curses: implement cheats

This commit is contained in:
rr-
2019-01-13 18:34:09 +01:00
parent 0ecfc2c1fd
commit 2da46a44a4
8 changed files with 34 additions and 15 deletions
@@ -22,7 +22,7 @@ class PlotWindow(Focusable, ListBoxProgressBarWindow):
self._player.quest_book.connect("start_act", self._sync_act_add)
self._player.quest_book.plot_bar.connect("change", self._sync_position)
self._sync()
self.sync()
def stop(self) -> None:
super().stop()
@@ -41,7 +41,7 @@ class PlotWindow(Focusable, ListBoxProgressBarWindow):
self._list_box.scroll_page_down()
self._render()
def _sync(self) -> None:
def sync(self) -> None:
self._sync_acts()
self._sync_position()