summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index bff1efe58..efc66872f 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -162,7 +162,11 @@ void ShortcutWindow::addButton(const std::string &text,
const std::string &eventName,
ActionListener *const listener)
{
- place(mButtonIndex++, 5, new Button(this, text, eventName, listener));
+ place(mButtonIndex++,
+ 5,
+ new Button(this, text, eventName, listener),
+ 1,
+ 1);
Window::widgetResized(Event(nullptr));
}