Ticket #5149: b5149.patch

File b5149.patch, 372 bytes (added by magmatt, 4 years ago)

Patch attempt

  • window.py

    diff --git a/window.py b/window.py
    index 51cdeba..6c18c9b 100644
    a b class ContainerWidget(Widget): 
    139139        assert child.parent is self 
    140140        child.parent = None 
    141141        self.children.remove(child) 
     142        if self.focusedChild == child: 
     143            self.changeFocus() 
    142144        self.repaint() 
    143145 
    144146    def filthy(self):