Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

cmenu: context menu for one selected folder is the same as for the folder

Changeset 76119f296b20

Parent f2495600a9fa

by Simon Heimberg

Changes to one file · Browse files at 76119f296b20 Showing diff from parent f2495600a9fa Diff from another changeset...

 
161
162
163
164
 
 
 
 
 
165
166
167
 
161
162
163
 
164
165
166
167
168
169
170
171
@@ -161,7 +161,11 @@
  cwd = self.folder   elif self.fnames:   f = self.fnames[0] - cwd = os.path.isdir(f) and f or os.path.dirname(f) + if len(self.fnames) == 1 and os.path.isdir(f): + cwd = f + self.fnames = [] + else: + cwd = os.path.dirname(f)     self.menuitems = {}   if self.folder and self.fnames: