Hi Perttu, perfect, thanks! =)
All the best, -Soeren On Sat, 2016-12-24 at 21:31 +0200, Perttu Ahola wrote: > --- > pv/mainwindow.cpp | 3 ++- > pv/view/view.cpp | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp > index f7c4712..d655374 100644 > --- a/pv/mainwindow.cpp > +++ b/pv/mainwindow.cpp > @@ -280,8 +280,9 @@ void > MainWindow::remove_session(shared_ptr<Session> session) > // that Qt keeps a pointer to the > view around > entry.second->setParent(0); > > - // Remove this entry from the > container > + // Remove this entry from the > container and stop iterating. > view_docks_.erase(entry.first); > + break; > } > } > > diff --git a/pv/view/view.cpp b/pv/view/view.cpp > index a086d23..9751f00 100644 > --- a/pv/view/view.cpp > +++ b/pv/view/view.cpp > @@ -155,7 +155,8 @@ View::View(Session &session, QWidget *parent) : > cursors_(new CursorPair(*this)), > next_flag_text_('A'), > trigger_markers_(), > - hover_point_(-1, -1) > + hover_point_(-1, -1), > + scroll_needs_defaults(false) > { > connect(scrollarea_.horizontalScrollBar(), > SIGNAL(valueChanged(int)), > this, SLOT(h_scroll_value_changed(int))); ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel