Skip to content

Commit

Permalink
widgets/browse: fix save bug for "Grab File..."
Browse files Browse the repository at this point in the history
The save button did not prompt to enter a location to save the blob
This change replaces one (presumably) wrong method call with the same
method call that is used when double-clicking a file instead of using
the save button.
  • Loading branch information
hellerbarde committed Oct 24, 2016
1 parent 8294774 commit b4915fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cola/widgets/browse.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def save_blob(self):
filenames = self.tree.selected_files()
if not filenames:
return
self.path_chosen(filenames[0], close=True)
self.save_path(filenames[0])

def selection_changed(self):
"""Update actions based on the current selection"""
Expand Down

0 comments on commit b4915fb

Please sign in to comment.