FIX:update dialog position when mainframe position changed

jira: STUDIO-10397
Change-Id: I86cb4698518119903dd7fa3f7c2ad1945804f533
(cherry picked from commit 2e0a9536105867bbd5b95f0a9596fd79733bd5e6)
This commit is contained in:
zhou.xu 2025-02-13 20:51:07 +08:00 committed by Noisyfox
parent 9ad372f3f5
commit ab3f0336e2
4 changed files with 44 additions and 25 deletions

View file

@ -324,9 +324,11 @@ bool SyncAmsInfoDialog::is_need_show()
if (m_is_empty_project && !is_dirty_filament()) {
return false;
}
auto mode =PageType::ptColorMap;
update_panel_status(mode);
update_when_change_map_mode(mode);
auto mode = PageType::ptColorMap;
if (m_colormap_btn) {
update_panel_status(mode);
update_when_change_map_mode(mode);
}
return true;
}