From 79650056f00b3c21adceb7006743193255cb6eec Mon Sep 17 00:00:00 2001 From: Humdinger Date: Mon, 24 Sep 2012 17:44:38 +0200 Subject: [PATCH] Fixed control label in Poorman settings. The BTextControls were using the wrong constructor. Fixes #9024. +alpha4 --- src/apps/poorman/PoorManSiteView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/poorman/PoorManSiteView.cpp b/src/apps/poorman/PoorManSiteView.cpp index a31ce8584a..3a35cb0ff1 100644 --- a/src/apps/poorman/PoorManSiteView.cpp +++ b/src/apps/poorman/PoorManSiteView.cpp @@ -36,7 +36,7 @@ PoorManSiteView::PoorManSiteView(const char* name) SetSendDirValue(win->DirListFlag()); // Web Directory Text Control - fWebDir = new BTextControl("Web Dir", STR_TXT_DIRECTORY, NULL); + fWebDir = new BTextControl(STR_TXT_DIRECTORY, NULL, NULL); SetWebDir(win->WebDir()); // Select Web Directory Button @@ -44,7 +44,7 @@ PoorManSiteView::PoorManSiteView(const char* name) new BMessage(MSG_PREF_SITE_BTN_SELECT)); // Index File Name Text Control - fIndexFileName = new BTextControl("Index File Name", STR_TXT_INDEX, NULL); + fIndexFileName = new BTextControl(STR_TXT_INDEX, NULL, NULL); SetIndexFileName(win->IndexFileName());