diff --git a/src/gtool1cd/BlobViewer/blob_viewer.cpp b/src/gtool1cd/BlobViewer/blob_viewer.cpp index 68aa94fb..bb49630b 100644 --- a/src/gtool1cd/BlobViewer/blob_viewer.cpp +++ b/src/gtool1cd/BlobViewer/blob_viewer.cpp @@ -161,3 +161,8 @@ void BlobViewer::nextTabActivated() int i = (w->currentIndex() + 1 + w->count()) % w->count(); w->setCurrentIndex(i); } + +void BlobViewer::on_treeView_activated(const QModelIndex &index) +{ + emit ui->treeView->doubleClicked(index); +} diff --git a/src/gtool1cd/BlobViewer/blob_viewer.h b/src/gtool1cd/BlobViewer/blob_viewer.h index ec33fec3..1e7f6b79 100644 --- a/src/gtool1cd/BlobViewer/blob_viewer.h +++ b/src/gtool1cd/BlobViewer/blob_viewer.h @@ -25,6 +25,8 @@ private slots: void prevTabActivated(); void nextTabActivated(); + void on_treeView_activated(const QModelIndex &index); + private: QString rootName; Ui::BlobViewer *ui;