Menu

#83 StyledEdit Bug

open
5
2004-04-01
2004-04-01
Cian Duffy
No

The new file name in Save As is not automatically
selected, meaning that if you just type in the name it
has "Untitled 1", or whatever on the end. R5/Dano do
not exhibit this behaviour

Discussion

  • MichaelPhipps

    MichaelPhipps - 2004-04-01
    • labels: --> Preferences
    • assigned_to: nobody --> sikosis
     
  • Niels Reedijk

    Niels Reedijk - 2004-04-10

    Logged In: YES
    user_id=33910

    nielx@cvs.sf.net's password:
    ? patch.patch
    cvs diff: Diffing .
    Index: StyledEditWindow.cpp
    ===================================================================
    RCS file:
    /cvsroot/open-beos/current/src/apps/stylededit/StyledEditWindow.cpp,v
    retrieving revision 1.46
    diff -r1.46 StyledEditWindow.cpp
    905,906d904
    < fSavePanelTextView =
    <
    dynamic_cast<BTextControl*>(fSavePanel->Window()->FindView("text
    view"));
    937c935
    < fSavePanelTextView->SetText(Title());
    ---
    > fSavePanel->SetSaveText(Title());

     
  • Niels Reedijk

    Niels Reedijk - 2004-04-10

    Logged In: YES
    user_id=33910

    Small two-liner to fix this bug. Ready to commit when you are.

     
  • Niels Reedijk

    Niels Reedijk - 2004-04-14

    Logged In: YES
    user_id=33910

    ----------------------------
    revision 1.47
    date: 2004/04/02 02:08:34; author: shatty; state: Exp;
    lines: +1 -9
    use BFilePanel::SetSaveText which selects the filename

     

Log in to post a comment.