Changeset 221c05f3dbe883b55e87c9fd42024d5f3c30badd

Show
Ignore:
Timestamp:
06/12/07 14:13:40 (6 years ago)
Author:
Philipp Kern <phil@…>
Parents:
35e39f64adf9adb0845203ae185c0f45ba7c2357
Children:
9d22d7c5fa724ebd507c352da2bcb9d0537d4d67
git-committer:
Philipp Kern <phil@0x539.de> / 2007-06-12T12:13:40Z+0000
Message:

2007-06-12 Armin Burgmeier <armin@…>

  • src/documentlist.cpp: fixed a bug related to the document list's selection (clear the selection in obby_start) [fixes #271]
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r35e39f6 r221c05f  
     12007-06-12  Armin Burgmeier  <armin@0x539.de> 
     2 
     3        * src/documentlist.cpp: fixed a bug related to the document list's 
     4          selection (clear the selection in obby_start) [fixes #271] 
     5 
    162007-05-27  Armin Burgmeier  <armin@0x539.de> 
    27         
  • src/documentlist.cpp

    r7457616 r221c05f  
    116116        m_scrolled_wnd.set_sensitive(true); 
    117117        m_buffer = &buf; 
     118 
     119        // This is necessary because otherwise on_selection_changed() 
     120        // might be called when the document info is already destroyed. 
     121        m_tree_view.get_selection()->unselect_all(); 
    118122} 
    119123 
     
    225229                                           Gtk::TreeViewColumn* column) 
    226230{ 
    227         on_subscribe(); 
     231        if(m_buffer != NULL && m_buffer->is_open()) 
     232        { 
     233                on_subscribe(); 
     234        } 
    228235 
    229236        Gtk::TreePath unsorted_path = m_sorted->convert_path_to_child_path(path);