working 'refresh buckets' action

This commit is contained in:
mappu 2017-05-21 13:49:41 +12:00
parent 6ac8c3e67b
commit 0f1cc014d7
1 changed files with 2 additions and 1 deletions

View File

@ -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)