Toggle plot by pressing SPACE key in project panel
This commit is contained in:
@@ -199,6 +199,9 @@ class FCCheckBox(QtGui.QCheckBox):
|
||||
def set_value(self, val):
|
||||
self.setChecked(val)
|
||||
|
||||
def toggle(self):
|
||||
self.set_value(not self.get_value())
|
||||
|
||||
|
||||
class FCTextArea(QtGui.QPlainTextEdit):
|
||||
def __init__(self, parent=None):
|
||||
|
||||
Reference in New Issue
Block a user