226 Protected slot called by the context menu. |
226 Protected slot called by the context menu. |
227 |
227 |
228 It is used to add the selected |
228 It is used to add the selected |
229 directory tree to the VCS repository. |
229 directory tree to the VCS repository. |
230 """ |
230 """ |
231 items = self.browser.getSelectedItems() |
|
232 names = [] |
231 names = [] |
233 for itm in self.browser.getSelectedItems(): |
232 for itm in self.browser.getSelectedItems(): |
234 try: |
233 try: |
235 name = itm.fileName() |
234 name = itm.fileName() |
236 except AttributeError: |
235 except AttributeError: |