mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 05:39:17 +08:00
FIX: fix incorrect selection after moving an object to new plate
Signed-off-by: yifan.wu <yifan.wu@bambulab.com> Change-Id: Ic47a23ca64888f0805c559fff52a50a0812b88b1 (cherry picked from commit d209293fe1409f039c4ec3065a990ce47c9003e8)
This commit is contained in:
parent
46a9df509c
commit
2c61072ec9
@ -646,6 +646,9 @@ void ObjectList::update_plate_values_for_items()
|
||||
if (plate_idx == old_plate_idx)
|
||||
continue;
|
||||
|
||||
// hotfix for wxDataViewCtrl selection not updated after wxDataViewModel::ItemDeleted()
|
||||
Unselect(item);
|
||||
|
||||
bool is_old_parent_expanded = IsExpanded(old_parent);
|
||||
bool is_expanded = IsExpanded(item);
|
||||
m_objects_model->OnPlateChange(plate_idx, item);
|
||||
|
Loading…
x
Reference in New Issue
Block a user