Fixed a warning because of duplicate undo registration of the fill tool

This commit is contained in:
Matthias Koefferlein 2021-08-29 21:46:01 +02:00
parent 45850cec70
commit 8e02969863
1 changed files with 0 additions and 2 deletions

View File

@ -198,8 +198,6 @@ FillDialog::generate_fill (const FillParameters &fp)
tl::info << "Collecting fill regions";
}
mp_view->manager ()->transaction (tl::to_string (QObject::tr ("Fill")));
db::Region fill_region;
if (fp.fill_region_mode == FillParameters::Region) {
fill_region = fp.fill_region;