Fixed control label in Poorman settings.

The BTextControls were using the wrong constructor.
Fixes #9024.
+alpha4
This commit is contained in:
Humdinger 2012-09-24 17:44:38 +02:00
parent 41828f1567
commit 79650056f0

View File

@ -36,7 +36,7 @@ PoorManSiteView::PoorManSiteView(const char* name)
SetSendDirValue(win->DirListFlag()); SetSendDirValue(win->DirListFlag());
// Web Directory Text Control // Web Directory Text Control
fWebDir = new BTextControl("Web Dir", STR_TXT_DIRECTORY, NULL); fWebDir = new BTextControl(STR_TXT_DIRECTORY, NULL, NULL);
SetWebDir(win->WebDir()); SetWebDir(win->WebDir());
// Select Web Directory Button // Select Web Directory Button
@ -44,7 +44,7 @@ PoorManSiteView::PoorManSiteView(const char* name)
new BMessage(MSG_PREF_SITE_BTN_SELECT)); new BMessage(MSG_PREF_SITE_BTN_SELECT));
// Index File Name Text Control // 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()); SetIndexFileName(win->IndexFileName());