aboutsummaryrefslogtreecommitdiff
path: root/gui/browser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/browser.cpp')
-rw-r--r--gui/browser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/browser.cpp b/gui/browser.cpp
index b4d489427a..431e436e3e 100644
--- a/gui/browser.cpp
+++ b/gui/browser.cpp
@@ -177,9 +177,9 @@ BrowserDialog::BrowserDialog(const char *title, bool dirBrowser)
_fileList->setEditable(false);
// Buttons
- addButton(10, _h - buttonHeight - 8, "Go up", kGoUpCmd, 0, ws);
- addButton(_w - 2 * (buttonWidth + 10), _h - buttonHeight - 8, "Cancel", kCloseCmd, 0, ws);
- addButton(_w - (buttonWidth + 10), _h - buttonHeight - 8, "Choose", kChooseCmd, 0, ws);
+ addButton(this, 10, _h - buttonHeight - 8, "Go up", kGoUpCmd, 0, ws);
+ addButton(this, _w - 2 * (buttonWidth + 10), _h - buttonHeight - 8, "Cancel", kCloseCmd, 0, ws);
+ addButton(this, _w - (buttonWidth + 10), _h - buttonHeight - 8, "Choose", kChooseCmd, 0, ws);
}
void BrowserDialog::open() {