Ticket #7681: scroll_to_selection_hack.patch
File scroll_to_selection_hack.patch, 559 bytes (added by , 13 years ago) |
---|
-
src/preferences/time/ZoneView.cpp
126 126 if (fCurrentZoneItem != NULL) { 127 127 fZoneList->Select(fZoneList->IndexOf(fCurrentZoneItem)); 128 128 fCurrent->SetText(fCurrentZoneItem->Text()); 129 // This actually has to be called twice to work properly under 130 // layout management 129 131 fZoneList->ScrollToSelection(); 132 fZoneList->ScrollToSelection(); 130 133 } 131 134 } 132 135 }