Skip to content

Commit

Permalink
Update from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Jan 17, 2020
1 parent 11cf5c8 commit 06190c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib/y2partitioner/ui_state.rb
Expand Up @@ -137,7 +137,7 @@ def select_row(device)
# and selected row are cleared. See #tab=
#
# @param pages [Array<CWM::Page>] all the pages in the tree
# @return [CWM::Page, nil]
# @return [CWM::Page, nil] the page to be opened; the initial one when nil
def find_tree_node(pages)
# candidate_nodes can be empty if the user has not left the overview page yet. So, do nothing
return nil if candidate_nodes.empty?
Expand Down Expand Up @@ -177,8 +177,9 @@ def save_open_items

protected

# A sort of breadcrumbs useful to know where to place the user within the general tree in the
# next redraw. It could hold both, devices id (sid, Integer) or pages labels (Sring)
# Useful to know where to place the user within the general tree in the next redraw
#
# It could hold both, devices id (sid, Integer) or pages labels (Sring).
#
# @see #find_tree_node
#
Expand Down

0 comments on commit 06190c6

Please sign in to comment.