[chronojump] On session delete, its name is shown (and in bold)



commit c5120b65ec01a9c4cf435f2105a60024834d6acb
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Mar 26 13:02:11 2020 +0100

    On session delete, its name is shown (and in bold)

 src/gui/app1/chronojump.cs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 40931dbf..2811b38e 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2533,7 +2533,9 @@ public partial class ChronoJumpWindow
                if(currentSession.Name == Constants.SessionSimulatedName)
                        new DialogMessage(Constants.MessageTypes.INFO, Constants.SessionProtectedStr());
                else {
-                       ConfirmWindow confirmWin = ConfirmWindow.Show(Catalog.GetString("Are you sure you 
want to delete the current session"), "", Catalog.GetString("and all the session tests?"));
+                       ConfirmWindow confirmWin = ConfirmWindow.Show(
+                                       Catalog.GetString("Are you sure you want to delete the current 
session") + "\n<b>" + currentSession.Name + "</b>",
+                                       "", Catalog.GetString("and all the session tests?"));
                        confirmWin.Button_accept.Clicked += new EventHandler(on_delete_session_accepted);
                }
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]