Changeset 10383


Ignore:
Timestamp:
01/30/10 14:42:28 (2 years ago)
Author:
waxhead
Message:

Minor tweaks to the dialog:

Stop Warning on opening Dialog when no number is in the field, SetFocus?() on the text entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/Dialog/GotoLine.pm

    r10370 r10383  
    7676        $self, -1, '', Wx::wxDefaultPosition, Wx::wxDefaultSize, 
    7777    ); 
    78  
     78    # have the text field grab the focus so we can just start typing. 
     79    $self->{gotoline_text}->SetFocus(); 
     80     
    7981    $self->{status_line} = Wx::StaticText->new( 
    80         $self, -1, Wx::gettext('Not a line number!'), Wx::wxDefaultPosition, Wx::wxDefaultSize, 
     82        #$self, -1, Wx::gettext('Not a line number!'), Wx::wxDefaultPosition, Wx::wxDefaultSize, 
     83        $self, -1, '', Wx::wxDefaultPosition, Wx::wxDefaultSize, 
    8184    ); 
    8285 
Note: See TracChangeset for help on using the changeset viewer.