[chronojump] Removed request to confirm on exit
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Removed request to confirm on exit
- Date: Tue, 3 Nov 2020 15:43:59 +0000 (UTC)
commit cc3e917079a1dc5c0ac97516cdbefe1523f773a5
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Nov 3 16:43:19 2020 +0100
Removed request to confirm on exit
src/gui/app1/chronojump.cs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index ca04031e..781443c8 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2315,7 +2315,12 @@ public partial class ChronoJumpWindow
on_quit2_activate(new object(), new EventArgs());
*/
- notebook_start.CurrentPage = Convert.ToInt32(notebook_start_pages.EXITCONFIRM);
+
+ bool needConfirmOnExit = false;
+ if(needConfirmOnExit)
+ notebook_start.CurrentPage = Convert.ToInt32(notebook_start_pages.EXITCONFIRM);
+ else
+ on_quit2_activate(new object(), new EventArgs());
}
private void on_button_exit_cancel_clicked (object o, EventArgs args)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]