summaryrefslogtreecommitdiff
path: root/win/Libdlg.cpp
diff options
context:
space:
mode:
authorleo2005-12-22 16:33:39 +0000
committerleo2005-12-22 16:33:39 +0000
commit2e854ed61c1aa804e0d373ca5af1d87882511a11 (patch)
tree63966259c5096fa5514712137bd53dab61260ec8 /win/Libdlg.cpp
parent2bb4077086d23164941750e9cecf5a40889a7b40 (diff)
Fixed a few small PLM bugs.
git-svn-id: http://svn.leocad.org/trunk@445 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Libdlg.cpp')
-rw-r--r--win/Libdlg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/Libdlg.cpp b/win/Libdlg.cpp
index fc45916..75d1223 100644
--- a/win/Libdlg.cpp
+++ b/win/Libdlg.cpp
@@ -120,6 +120,7 @@ BOOL CLibraryDlg::OnCommand(WPARAM wParam, LPARAM lParam)
case ID_LIBDLG_FILE_OPEN:
{
project->GetPiecesLibrary()->LoadCategories(NULL);
+ UpdateTree();
return TRUE;
}
@@ -158,7 +159,7 @@ BOOL CLibraryDlg::OnCommand(WPARAM wParam, LPARAM lParam)
free(opts.filenames);
- UpdateList();
+ UpdateTree();
}
return TRUE;