diff options
Diffstat (limited to 'qt-recordmydesktop/src/rmdSimple.py')
-rw-r--r-- | qt-recordmydesktop/src/rmdSimple.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-recordmydesktop/src/rmdSimple.py b/qt-recordmydesktop/src/rmdSimple.py index e4b3585..c2bd03a 100644 --- a/qt-recordmydesktop/src/rmdSimple.py +++ b/qt-recordmydesktop/src/rmdSimple.py @@ -163,9 +163,13 @@ class simpleWidget(object): print "Warning!!!Couldn't save preferences" sys.exit() def hide(self,Event=None): + if self.image.realFrame != None and self.values[25]==0: + self.image.realFrame.window.hide() self.window.hide() self.hidden[0]=1 def show(self,Event=None): + if self.image.realFrame != None and self.values[25]==0: + self.image.realFrame.window.show() self.window.show() self.hidden[0]=0 def __swap_visibility__(self,event=None): |