From 360c19d1af2922b105d39efa11732c15e1c50683 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 8 Feb 2015 09:07:41 +0000 Subject: [PATCH] compact/expand skins on double-click --- source/carla_skin.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/carla_skin.py b/source/carla_skin.py index c4e6a87bc..a549eba13 100755 --- a/source/carla_skin.py +++ b/source/carla_skin.py @@ -1166,6 +1166,12 @@ class AbstractPluginSlot(QFrame, PluginEditParentMeta): #------------------------------------------------------------------ + def mouseDoubleClickEvent(self, event): + QFrame.mouseDoubleClickEvent(self, event) + + # FIXME + gCarla.gui.compactPlugin(self.fPluginId) + def closeEvent(self, event): if self.fIdleTimerId != 0: self.killTimer(self.fIdleTimerId)