mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
chore: add comments
This commit is contained in:
1 parent
f3fd7ef6ea
commit
687c5ac168
1 file changed
+2
@@ -489,6 +489,8 @@ class Assistant(Gtk.Assistant):
|
||||
|
||||
def get_final_page(self) -> int:
|
||||
pages = self.get_n_pages()
|
||||
# TODO: might be better to check if path is writeable
|
||||
# and selectively block certain shortcut options
|
||||
if self.is_binary:
|
||||
return pages - 2
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user