Permalink
Browse files

Make sure that the life-preserver single instance function opens up t…

…he GUI and/or raises it.
  • Loading branch information...
1 parent 7f4794d commit 29fe4e9e2c320daea34362cd1ad00dd9f0e225e8 Ken Moore committed Sep 5, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 src-qt4/life-preserver/LPTray.cpp
@@ -233,6 +233,11 @@ void LPTray::slotClose(){
void LPTray::slotSingleInstance(){
this->show();
+ if(!GUI->isVisible()){ startGUI(); }
+ else{
+ GUI->raise();
+ GUI->show();
+ }
}
void LPTray::startGUI(){

0 comments on commit 29fe4e9

Please sign in to comment.