This commit is contained in:
Matthias Koefferlein
2022-05-01 17:47:00 +02:00
parent 9b7a237a79
commit 8cbb49d5f9
19 changed files with 189 additions and 181 deletions
@@ -105,9 +105,7 @@ public:
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutViewBase *view) const
{
lay::LayoutView *lv = dynamic_cast<lay::LayoutView *> (view);
tl_assert (lv != 0);
return new DiffPlugin (root, lv);
return new DiffPlugin (root, view->ui ());
}
};