working 'refresh buckets' action
This commit is contained in:
parent
6ac8c3e67b
commit
0f1cc014d7
@ -19,6 +19,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
databaseContext->addAction(ui->actionDisconnect);
|
databaseContext->addAction(ui->actionDisconnect);
|
||||||
|
|
||||||
bucketContext = new QMenu();
|
bucketContext = new QMenu();
|
||||||
|
bucketContext->addAction(ui->actionRefresh_buckets);
|
||||||
bucketContext->addAction(ui->actionDelete_bucket);
|
bucketContext->addAction(ui->actionDelete_bucket);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,7 +157,7 @@ void MainWindow::on_bucketTree_customContextMenuRequested(const QPoint &pos)
|
|||||||
|
|
||||||
void MainWindow::on_actionRefresh_buckets_triggered()
|
void MainWindow::on_actionRefresh_buckets_triggered()
|
||||||
{
|
{
|
||||||
|
refreshBucketTree(lastContextSelection);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_bucketTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)
|
void MainWindow::on_bucketTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)
|
||||||
|
Loading…
Reference in New Issue
Block a user