Changeset 10459
- Timestamp:
- 02/01/10 23:31:24 (7 months ago)
- Files:
-
- 1 modified
-
trunk/Padre/lib/Padre/Wx/Dialog/Goto.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Wx/Dialog/Goto.pm
r10454 r10459 286 286 unless ($editor) { 287 287 $self->Hide; 288 return ;288 return 0; 289 289 } 290 290 … … 295 295 $self->{current_position} = $editor->GetCurrentPos + 1; 296 296 297 return ;297 return 1; 298 298 } 299 299 … … 314 314 315 315 # Update current, and max bounds from the current editor 316 $self->_update_from_editor;316 return unless $self->_update_from_editor; 317 317 318 318 # Update Goto labels
