Menu

#18 crash on pressing "del"

open
None
5
2007-02-26
2007-02-26
romgen
No

1. Just add some image to the project
2. drag-drop that image to the timeline window (bottom)
3. click on the timeline window where the image (bottom)
3. press "del".
4. click on the image in the resources (top-right)
5. press "del" --> crash

Problem:
there is some missing "null" command in "TimelinePlugin.cpp".

Just add this line to "TimelinePlugin.cpp" (line 612) to fix it:
m_activeObject = NULL;

Whole function:

void TimelinePlugin::on_removeAct_triggered()
{
m_manager->beginCommandSet(m_actions->removeAct->text());
m_manager->removeObjects(selectedObjectList());
m_manager->endCommandSet();
m_activeObject = NULL;
}

Greetings and good work!

Discussion

  • romgen

    romgen - 2007-02-26
    • assigned_to: nobody --> whiteh12
     
  • romgen

    romgen - 2007-02-26

    Logged In: YES
    user_id=1146827
    Originator: YES

    i forgot to say: i use svn from 26.02.07 (today, checked out minutes ago)

     

Log in to post a comment.