#NEWLINE# def on_select_pr( self , idx ) : #NEWLINE# #INDENT# if ( idx == ( - 1 ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . pr = self . pull_requests [ idx ] #NEWLINE# self . view . window ( ) . show_quick_panel ( [ 'Checkout as detached HEAD.' , 'Checkout as local branch.' , 'Create local branch, but do not checkout.' , 'View diff.' , 'Open in browser.' ] , self . on_select_action )