X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fsubwindows%2Fdecoder_selector%2Fsubwindow.cpp;fp=pv%2Fsubwindows%2Fdecoder_selector%2Fsubwindow.cpp;h=0c4b76bb8c14aca9fcb58688f037579c205dd13e;hp=2c65dcf2e4f3f928ac38216a4303fd7fe543b8be;hb=c259400566cecf3b6ca959bc60c671a7195c0078;hpb=1c552f400ee967f7a489853578c4d8d4bd2edfbf diff --git a/pv/subwindows/decoder_selector/subwindow.cpp b/pv/subwindows/decoder_selector/subwindow.cpp index 2c65dcf2..0c4b76bb 100644 --- a/pv/subwindows/decoder_selector/subwindow.cpp +++ b/pv/subwindows/decoder_selector/subwindow.cpp @@ -74,7 +74,8 @@ void QCustomTreeView::currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); - currentChanged(current); + + current_changed(current); } @@ -158,7 +159,7 @@ SubWindow::SubWindow(Session& session, QWidget* parent) : connect(filter, SIGNAL(returnPressed()), this, SLOT(on_filter_return_pressed())); - connect(tree_view_, SIGNAL(currentChanged(const QModelIndex&)), + connect(tree_view_, SIGNAL(current_changed(const QModelIndex&)), this, SLOT(on_item_changed(const QModelIndex&))); connect(tree_view_, SIGNAL(activated(const QModelIndex&)), this, SLOT(on_item_activated(const QModelIndex&)));