* 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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user