]> git.sesse.net Git - vlc/blobdiff - activex/oleobject.cpp
* added a note about the update-checker to the news and updated the copyright dates...
[vlc] / activex / oleobject.cpp
index 3101d91a6f98d6e9da79299906d7af17c358196c..03b2f350e891d0e598f1d4f2aabbfca4abfff8c5 100644 (file)
@@ -163,8 +163,8 @@ HRESULT VLCOleObject::doInPlaceActivate(LPMSG lpMsg, LPOLECLIENTSITE pActiveSite
             p_inPlaceSite->Release();
         }
 
-        pActiveSite->ShowObject();
-        _p_instance->setVisible(TRUE);
+        if( _p_instance->getVisible() )
+            pActiveSite->ShowObject();
 
         if( NULL != lpMsg )
         {