Fix update of tool locations after changing pref
Only the editor panel in single editor mode was being updated. This commit makes them update in multiple editor mode and also updates the batch editor.
This commit is contained in:
@@ -1113,9 +1113,22 @@ void RTWindow::updateHistogramPosition (int oldPosition, int newPosition)
|
||||
void RTWindow::updateToolPanelToolLocations(
|
||||
const std::vector<Glib::ustring> &favorites, bool cloneFavoriteTools)
|
||||
{
|
||||
if (fpanel) {
|
||||
fpanel->updateToolPanelToolLocations(favorites, cloneFavoriteTools);
|
||||
}
|
||||
|
||||
if (epanel) {
|
||||
epanel->updateToolPanelToolLocations(favorites, cloneFavoriteTools);
|
||||
}
|
||||
|
||||
for (const auto &panel : epanels) {
|
||||
panel.second->updateToolPanelToolLocations(favorites, cloneFavoriteTools);
|
||||
}
|
||||
|
||||
if (options.multiDisplayMode > 0) {
|
||||
EditWindow::getInstance(this)
|
||||
->updateToolPanelToolLocations(favorites, cloneFavoriteTools);
|
||||
}
|
||||
}
|
||||
|
||||
bool RTWindow::splashClosed (GdkEventAny* event)
|
||||
|
Reference in New Issue
Block a user