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.
This commit is contained in:
Rene Gollent
2015-01-23 22:17:05 -05:00
parent f6099728e4
commit d13b9014e8
@@ -105,7 +105,7 @@ CreateKeysPopUp()
ShortcutsWindow::ShortcutsWindow() ShortcutsWindow::ShortcutsWindow()
: :
BWindow(BRect(0, 0, 0, 0), B_TRANSLATE_SYSTEM_NAME("Shortcuts"), 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), fSavePanel(NULL),
fOpenPanel(NULL), fOpenPanel(NULL),
fSelectPanel(NULL), fSelectPanel(NULL),