* Quit() in the constructor does not work as one might expect.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39284 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-11-03 20:42:33 +00:00
parent f085f5b012
commit 01939af669
+1
View File
@@ -198,6 +198,7 @@ ShowImageWindow::ShowImageWindow(const entry_ref* ref,
if (fNavigator.LoadImage(*ref) != B_OK) { if (fNavigator.LoadImage(*ref) != B_OK) {
_LoadError(*ref); _LoadError(*ref);
Quit(); Quit();
return;
} }
// add View menu here so it can access ShowImageView methods // add View menu here so it can access ShowImageView methods