maybe fix: try to connect the selection control the other way round
This commit is contained in:
parent
c9671b654e
commit
4acc9d247a
2 changed files with 3 additions and 1 deletions
|
|
@ -49,11 +49,12 @@ IBeamTool::IBeamTool(TimelineBody &timeline_body) :
|
||||||
scrollSlideRate(0)
|
scrollSlideRate(0)
|
||||||
{
|
{
|
||||||
// Connect the timlinebody selection to the selectionControl
|
// Connect the timlinebody selection to the selectionControl
|
||||||
this->get_state()->get_selection().accept(selectionControl);
|
this->get_state()->setSelection (selectionControl, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
IBeamTool::~IBeamTool()
|
IBeamTool::~IBeamTool()
|
||||||
{
|
{
|
||||||
|
selectionControl.disconnect();
|
||||||
end_scroll_slide();
|
end_scroll_slide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,7 @@ public:
|
||||||
|
|
||||||
Time getPlaybackPoint() const { return playbackPoint_; }
|
Time getPlaybackPoint() const { return playbackPoint_; }
|
||||||
|
|
||||||
|
|
||||||
/** is there currently any ongoing playback process?
|
/** is there currently any ongoing playback process?
|
||||||
* Otherwise the #getPlaybackPoint is meaningless */
|
* Otherwise the #getPlaybackPoint is meaningless */
|
||||||
bool isPlaying() const { return isPlayback_; }
|
bool isPlaying() const { return isPlayback_; }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue