--- a/Preferences/ConfigurationPages/ProtobufPage.py Mon Nov 13 20:20:06 2017 +0100 +++ b/Preferences/ConfigurationPages/ProtobufPage.py Tue Nov 14 19:13:28 2017 +0100 @@ -34,14 +34,21 @@ "Press to select the Protobuf compiler via a file selection" " dialog.")) + self.grpcPythonPicker.setMode(E5PathPickerModes.OpenFileMode) + self.grpcPythonPicker.setToolTip(self.tr( + "Press to select the Python interpreter containing the grpc" + " compiler via a file selection dialog.")) + # set initial values self.protocPicker.setText(Preferences.getProtobuf("protoc")) + self.grpcPythonPicker.setText(Preferences.getProtobuf("grpcPython")) def save(self): """ Public slot to save the protobuf configuration. """ Preferences.setProtobuf("protoc", self.protocPicker.text()) + Preferences.setProtobuf("grpcPython", self.grpcPythonPicker.text()) def create(dlg):