Skip to content

Commit

Permalink
GUI: удобства.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpas committed Apr 10, 2018
1 parent 83c066d commit f30bf92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gtool1cd/BlobViewer/blob_viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
2 changes: 2 additions & 0 deletions src/gtool1cd/BlobViewer/blob_viewer.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ private slots:
void prevTabActivated();
void nextTabActivated();

void on_treeView_activated(const QModelIndex &index);

private:
QString rootName;
Ui::BlobViewer *ui;
Expand Down

0 comments on commit f30bf92

Please sign in to comment.