Browse Source

Fix main window visibility on maid undress

Undressing all the maids would make the GUI visible which is not
intended.
habeebweeb 4 years ago
parent
commit
1d0332ca75

+ 1 - 5
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/MainWindow.cs

@@ -135,11 +135,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
                 Constants.Window newWindow = args.IsBody ? Constants.Window.Pose : Constants.Window.Face;
                 ChangeWindow(newWindow);
             }
-            else
-            {
-                currentWindowPane.UpdatePanes();
-                Visible = true;
-            }
+            else currentWindowPane.UpdatePanes();
         }
 
         private void ChangeWindow(Constants.Window window)