diff --git a/qbolt/mainwindow.cpp b/qbolt/mainwindow.cpp index 43cb00f..3e775b7 100644 --- a/qbolt/mainwindow.cpp +++ b/qbolt/mainwindow.cpp @@ -19,6 +19,7 @@ MainWindow::MainWindow(QWidget *parent) : databaseContext->addAction(ui->actionDisconnect); bucketContext = new QMenu(); + bucketContext->addAction(ui->actionRefresh_buckets); bucketContext->addAction(ui->actionDelete_bucket); } @@ -156,7 +157,7 @@ void MainWindow::on_bucketTree_customContextMenuRequested(const QPoint &pos) void MainWindow::on_actionRefresh_buckets_triggered() { - + refreshBucketTree(lastContextSelection); } void MainWindow::on_bucketTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)