From 0f1cc014d7cc398b1026c25818812c51b39d7d27 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 21 May 2017 13:49:41 +1200 Subject: [PATCH] working 'refresh buckets' action --- qbolt/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)