• Sebastien Lafargue's avatar
    Don't update sensitivity on wrong tab when a tab is removed · a41925a9
    Sebastien Lafargue authored
    When a tab is removed, sensitivity is updated on the active tab
    but at this time, the active tab is the removed tab, so we end with this :
    
    CRITICAL **: update_next_prev_doc_sensitivity: assertion 'tab_number >= 0' failed
    
    ( searching a tab who is not in the active notebook return a tab_number of -1 )
    a41925a9
gedit-multi-notebook.c 28.7 KB