From 7b6482a6fd9be0e66a14aee3a715e8eacdf3951e Mon Sep 17 00:00:00 2001 From: Gareth Aneurin Tribello Date: Mon, 7 Oct 2024 16:10:06 +0100 Subject: [PATCH] Fixed issue with saving input lines from ActionShortcut to fix problem in nest --- src/core/ActionShortcut.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ActionShortcut.cpp b/src/core/ActionShortcut.cpp index 377e37ce49..0adc3ea980 100644 --- a/src/core/ActionShortcut.cpp +++ b/src/core/ActionShortcut.cpp @@ -177,8 +177,8 @@ void ActionShortcut::addToSavedInputLines( const std::string& line ) { std::string num; Tools::convert( ninstances[j], num ); if( ninstances[j]>0 ) reducedline += num + " further " + numberedkeys[j] + "n keywords, "; } - } - savedInputLines.push_back( reducedline ); + savedInputLines.push_back( reducedline ); + } else savedInputLines.push_back( line ); } else savedInputLines.push_back( line ); }