Commits

Yuya Nishihara committed 3e96d03

settings: getExistingDirectory without keyword argument (CentOs 6.3)

ShowDirsOnly is specified by default.

  • Participants
  • Parent commits 18ce634
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/settings.py

         self.setLayout(layout)
 
     def browse(self):
-        dir = QFileDialog.getExistingDirectory(self, directory=self.lineEdit.text(),
-                                               options=QFileDialog.ShowDirsOnly)
+        dir = QFileDialog.getExistingDirectory(self, '', self.lineEdit.text())
         if dir:
             self.lineEdit.setText(dir)