* No need to show an error alert when the preflet is already running, it behaves
as expected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34134 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7d39f1f137
commit
46cac7f7dd
@ -511,7 +511,7 @@ void
|
||||
NetworkStatusView::_OpenNetworksPreferences()
|
||||
{
|
||||
status_t status = be_roster->Launch("application/x-vnd.Haiku-Network");
|
||||
if (status < B_OK) {
|
||||
if (status != B_OK && status != B_ALREADY_RUNNING) {
|
||||
BString errorMessage("Launching the Network preflet failed.\n\n"
|
||||
"Error: ");
|
||||
errorMessage << strerror(status);
|
||||
|
Loading…
Reference in New Issue
Block a user