Removed unnecessary error messages on first launch :

* When you select Cancel, it did display an alert saying it couldn't start the server, and then displays the main window. That error message was unnecessary since the text box (in the main window) already says so.
* When you click on Select, it displays the same error message, and then display the file panel. That error message didn't exactly made sense in that context.

minor style violation (2 lines spacing between methods)
Fixing ticket #4255


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32449 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Saint-Pierre
2009-08-16 23:58:39 +00:00
parent c2e9bbc888
commit 16424a2470
+1 -2
View File
@@ -600,7 +600,6 @@ PoorManWindow::DefaultSettings()
switch (buttonIndex){
case 0:
serverAlert->Go();
SetWebDir("");
break;
case 1:
@@ -608,7 +607,6 @@ PoorManWindow::DefaultSettings()
setwindow_frame,
STR_WIN_NAME_PREF
);
serverAlert->Go();
prefWindow->ShowWebDirFilePanel();
break;
case 2:
@@ -625,6 +623,7 @@ PoorManWindow::DefaultSettings()
}
}
status_t
PoorManWindow::ReadSettings()
{