Improved RemoteDirModel interactivity

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-08-11 18:14:55 +00:00
parent d78ee60e30
commit cf2343105b
6 changed files with 44 additions and 29 deletions

View file

@ -504,9 +504,17 @@ void SharedFilesDialog::postModDirectories(bool update_local)
{
std::cerr << "SharedFilesDialog::postModDirectories called with update_local = " << update_local << std::endl ;
if (update_local)
{
localModel->postMods();
ui.localDirTreeView->update() ;
}
else
{
model->postMods();
ui.remoteDirTreeView->update() ;
}
QCoreApplication::flush();
}