Plugins/VcsPlugins/vcsPySvn/SvnCommandDialog.py

changeset 3190
a9a94491c4fd
parent 3186
a05eff845522
child 3366
6084bb3c3911
equal deleted inserted replaced
3189:9a21c547de5f 3190:a9a94491c4fd
15 15
16 from .Ui_SvnCommandDialog import Ui_SvnCommandDialog 16 from .Ui_SvnCommandDialog import Ui_SvnCommandDialog
17 17
18 import Utilities 18 import Utilities
19 import UI.PixmapCache 19 import UI.PixmapCache
20
20 21
21 class SvnCommandDialog(QDialog, Ui_SvnCommandDialog): 22 class SvnCommandDialog(QDialog, Ui_SvnCommandDialog):
22 """ 23 """
23 Class implementing the Subversion command dialog. 24 Class implementing the Subversion command dialog.
24 25
69 cwd = self.workdirCombo.currentText() 70 cwd = self.workdirCombo.currentText()
70 if not cwd: 71 if not cwd:
71 cwd = self.projectDirLabel.text() 72 cwd = self.projectDirLabel.text()
72 d = E5FileDialog.getExistingDirectory( 73 d = E5FileDialog.getExistingDirectory(
73 self, 74 self,
74 self.trUtf8("Working directory"), 75 self.tr("Working directory"),
75 cwd, 76 cwd,
76 E5FileDialog.Options(E5FileDialog.ShowDirsOnly)) 77 E5FileDialog.Options(E5FileDialog.ShowDirsOnly))
77 78
78 if d: 79 if d:
79 self.workdirCombo.setEditText(Utilities.toNativeSeparators(d)) 80 self.workdirCombo.setEditText(Utilities.toNativeSeparators(d))

eric ide

mercurial