51 |
51 |
52 def save(self): |
52 def save(self): |
53 """ |
53 """ |
54 Public slot to save the Rope Mouse Click Handler configuration. |
54 Public slot to save the Rope Mouse Click Handler configuration. |
55 """ |
55 """ |
56 self.__plugin.setPreferences("MouseClickEnabled", |
56 self.__plugin.setPreferences( |
|
57 "MouseClickEnabled", |
57 self.ropeClickHandlerCheckBox.isChecked()) |
58 self.ropeClickHandlerCheckBox.isChecked()) |
58 self.__plugin.setPreferences("MouseClickGotoModifiers", |
59 self.__plugin.setPreferences( |
|
60 "MouseClickGotoModifiers", |
59 int(self.__modifiers["goto"][0])) |
61 int(self.__modifiers["goto"][0])) |
60 self.__plugin.setPreferences("MouseClickGotoButton", |
62 self.__plugin.setPreferences( |
|
63 "MouseClickGotoButton", |
61 int(self.__modifiers["goto"][1])) |
64 int(self.__modifiers["goto"][1])) |
62 |
65 |
63 @pyqtSlot() |
66 @pyqtSlot() |
64 def on_changeGotoButton_clicked(self): |
67 def on_changeGotoButton_clicked(self): |
65 """ |
68 """ |