fix build menu command paste

This commit is contained in:
Garux
2025-01-15 23:07:02 +05:00
parent 482ec3716d
commit 887315d76d
+1 -1
View File
@@ -819,7 +819,7 @@ protected:
else if ( keyEvent->matches( QKeySequence::StandardKey::Copy ) && x != build.end() ) {
g_buildcommand_copied = ( *x );
}
else if ( keyEvent->matches( QKeySequence::StandardKey::Paste ) && !g_buildpair_copied.first.empty() ) {
else if ( keyEvent->matches( QKeySequence::StandardKey::Paste ) && !string_empty( g_buildcommand_copied.c_str() ) ) {
g_build_changed = true;
build.insert( x, g_buildcommand_copied );