Refresh Views after successful explorer context menu action

FossilOrigin-Name: 2af31cfaa9ea47140558c96deca7a15bc5e8819c
This commit is contained in:
kostas
2012-05-03 08:29:50 +00:00
parent ad0eff3dd3
commit 3b93a022d2
3 changed files with 9 additions and 8 deletions

View File

@ -2424,7 +2424,8 @@ void MainWindow::on_tableView_customContextMenuRequested(const QPoint &pos)
{
QString fname = getCurrentWorkspace() + PATH_SEP + fnames[0];
fname = QDir::toNativeSeparators(fname);
ShowExplorerMenu(winId(), fname, gpos);
if(ShowExplorerMenu(winId(), fname, gpos))
refresh();
}
}
else