소스 검색

Taskbar: Remove window buttons from the taskbar when appropriate

Andreas Kling 5 년 전
부모
커밋
df837562ad
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Applications/Taskbar/WindowList.h

+ 2 - 0
Applications/Taskbar/WindowList.h

@@ -15,6 +15,8 @@ public:
 
     ~Window()
     {
+        if (m_button)
+            m_button->remove_from_parent();
     }
 
     WindowIdentifier identifier() const { return m_identifier; }