Add option to clone favorite tools

If cloning is enabled, favorite tools will appear in the favorites panel
and in the original location.
This commit is contained in:
Lawrence Lee
2021-12-09 21:27:39 -08:00
parent acda4da226
commit f8a1deb371
11 changed files with 69 additions and 27 deletions

View File

@@ -1111,10 +1111,10 @@ void RTWindow::updateHistogramPosition (int oldPosition, int newPosition)
}
void RTWindow::updateToolPanelToolLocations(
const std::vector<Glib::ustring> &favorites)
const std::vector<Glib::ustring> &favorites, bool cloneFavoriteTools)
{
if (epanel) {
epanel->updateToolPanelToolLocations(favorites);
epanel->updateToolPanelToolLocations(favorites, cloneFavoriteTools);
}
}