From d13b9014e8274cb0f1ea9968562de885743c431c Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Fri, 23 Jan 2015 22:17:05 -0500 Subject: [PATCH] Shortcuts: Fix #11777. - Add missing B_AUTO_UPDATE_SIZE_LIMITS flag to window, otherwise it never recomputes its initial size in the absence of previously stored settings. --- src/preferences/shortcuts/ShortcutsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preferences/shortcuts/ShortcutsWindow.cpp b/src/preferences/shortcuts/ShortcutsWindow.cpp index 6cc3aa6221..a7fe5d4f7c 100644 --- a/src/preferences/shortcuts/ShortcutsWindow.cpp +++ b/src/preferences/shortcuts/ShortcutsWindow.cpp @@ -105,7 +105,7 @@ CreateKeysPopUp() ShortcutsWindow::ShortcutsWindow() : BWindow(BRect(0, 0, 0, 0), B_TRANSLATE_SYSTEM_NAME("Shortcuts"), - B_TITLED_WINDOW, 0L), + B_TITLED_WINDOW, B_AUTO_UPDATE_SIZE_LIMITS), fSavePanel(NULL), fOpenPanel(NULL), fSelectPanel(NULL),