ide: Main config GUI improved

This commit is contained in:
Mirek Fidler 2024-03-11 10:02:27 +01:00
parent 597ed21aed
commit 87709894e9
4 changed files with 296 additions and 233 deletions

View file

@ -2375,7 +2375,7 @@ void ArrayCtrl::DoDuplicate() {
int c = cursor;
if(!KillCursor()) return;
Vector<Value> va = ReadRow(c);
c = IsAppending() ? array.GetCount() : c + 1;
c = IsAppending() && !IsInserting() ? array.GetCount() : c + 1;
Insert(c, va);
SetCursor(c);
DoEdit();