Make tool locations dynamic

Update tool locations after changing favorite tools preferences.
This commit is contained in:
Lawrence Lee
2021-12-05 17:09:23 -08:00
parent 8bd7712cce
commit 778b26d5bd
11 changed files with 586 additions and 274 deletions

View File

@@ -2486,6 +2486,13 @@ void EditorPanel::updateHistogramPosition (int oldPosition, int newPosition)
}
void EditorPanel::updateToolPanelToolLocations(
const std::vector<Glib::ustring> &favorites)
{
if (tpc) {
tpc->updateToolLocations(favorites);
}
}
void EditorPanel::defaultMonitorProfileChanged (const Glib::ustring &profile_name, bool auto_monitor_profile)
{