From 187f0b8a33decfd94cddca04927207af935116b1 Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Wed, 10 Dec 2003 22:47:10 +0000 Subject: [PATCH] Fixed bug where the close confirmation would still appear after a changed document was closed git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5640 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/showimage/ShowImageWindow.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp index 1fa4faa971..48a0126483 100644 --- a/src/apps/showimage/ShowImageWindow.cpp +++ b/src/apps/showimage/ShowImageWindow.cpp @@ -219,9 +219,6 @@ ShowImageWindow::BuildViewMenu(BMenu *pmenu) // Note: ShowImage loades images in window thread so it becomes unresponsive if // slide show delay is too short! (Especially if loading the image takes as long as // or longer than the slide show delay). Should load in background thread! - // AddDelayItem(pDelay, "Half a Second", 0.5, false); - // AddDelayItem(pDelay, "One Second", 1, false); - // AddDelayItem(pDelay, "Two Second", 2, false); AddDelayItem(pDelay, "Three Seconds", 3); AddDelayItem(pDelay, "Four Second", 4); AddDelayItem(pDelay, "Five Seconds", 5); @@ -844,9 +841,11 @@ ShowImageWindow::ClosePrompt() if (pAlert->Go() == 0) // Cancel return false; - else + else { // Close + fModified = false; return true; + } } }