summaryrefslogtreecommitdiff
path: root/win/Libdlg.cpp
diff options
context:
space:
mode:
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;