From 0e4594c0c35292271746548de9c29e2a3bf29e75 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 25 Feb 2025 22:06:56 +0100 Subject: [PATCH] [consider merging] fixed a potential crash on 'save all' --- src/lay/lay/layMainWindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lay/lay/layMainWindow.cc b/src/lay/lay/layMainWindow.cc index cda9b8057..7b52b97b9 100644 --- a/src/lay/lay/layMainWindow.cc +++ b/src/lay/lay/layMainWindow.cc @@ -2365,7 +2365,7 @@ MainWindow::cm_save_all () } view (view_index)->save_as (cv_index, fn, om, options, true, m_keep_backups); - add_mru (fn, current_view ()->cellview (cv_index)->tech_name ()); + add_mru (fn, cv->tech_name ()); }