maybe fix: try to connect the selection control the other way round

This commit is contained in:
Fischlurch 2011-10-23 02:41:57 +02:00
parent c9671b654e
commit 4acc9d247a
2 changed files with 3 additions and 1 deletions

View file

@ -49,11 +49,12 @@ IBeamTool::IBeamTool(TimelineBody &timeline_body) :
scrollSlideRate(0)
{
// Connect the timlinebody selection to the selectionControl
this->get_state()->get_selection().accept(selectionControl);
this->get_state()->setSelection (selectionControl, false);
}
IBeamTool::~IBeamTool()
{
selectionControl.disconnect();
end_scroll_slide();
}

View file

@ -78,6 +78,7 @@ public:
Time getPlaybackPoint() const { return playbackPoint_; }
/** is there currently any ongoing playback process?
* Otherwise the #getPlaybackPoint is meaningless */
bool isPlaying() const { return isPlayback_; }