RefactoringRope/ConfigurationPage/MouseClickHandlerRopePage.py

branch
eric7
changeset 369
ae43998a0cf8
parent 365
f740b50380df
child 374
958f34e97952
equal deleted inserted replaced
368:c206d08c28e7 369:ae43998a0cf8
53 def save(self): 53 def save(self):
54 """ 54 """
55 Public slot to save the Rope Mouse Click Handler configuration. 55 Public slot to save the Rope Mouse Click Handler configuration.
56 """ 56 """
57 self.__plugin.setPreferences( 57 self.__plugin.setPreferences(
58 "MouseClickEnabled", 58 "MouseClickEnabled", self.ropeClickHandlerCheckBox.isChecked())
59 self.ropeClickHandlerCheckBox.isChecked())
60 self.__plugin.setPreferences( 59 self.__plugin.setPreferences(
61 "MouseClickGotoModifiers", 60 "MouseClickGotoModifiers", self.__modifiers["goto"][0])
62 int(self.__modifiers["goto"][0]))
63 self.__plugin.setPreferences( 61 self.__plugin.setPreferences(
64 "MouseClickGotoButton", 62 "MouseClickGotoButton", self.__modifiers["goto"][1])
65 int(self.__modifiers["goto"][1]))
66 63
67 @pyqtSlot() 64 @pyqtSlot()
68 def on_changeGotoButton_clicked(self): 65 def on_changeGotoButton_clicked(self):
69 """ 66 """
70 Private slot to change the 'goto' mouse click sequence. 67 Private slot to change the 'goto' mouse click sequence.

eric ide

mercurial