Home
Phabricator
Search
Log In
Paste
P205
Masterwork From Distant Lands
Active
Public
Actions
Authored by
dkazakov
on May 7 2018, 10:33 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/libs/ui/widgets/kis_paintop_presets_save.cpp b/libs/ui/widgets/kis_paintop_presets_save.cpp
index 3b1fc6f..65a8038 100644
--- a/libs/ui/widgets/kis_paintop_presets_save.cpp
+++ b/libs/ui/widgets/kis_paintop_presets_save.cpp
@@ -237,8 +237,10 @@ void KisPresetSaveWidget::savePreset()
if (curPreset->image().isNull()) {
curPreset->setImage(brushPresetThumbnailWidget->cutoutOverlay());
}
+
+ // we should not load() the brush right after saving because it will reset all our saved
+ // eraser size and opacity values
curPreset->save();
- curPreset->load();
}
dkazakov
edited the content of this paste.
(Show Details)
May 7 2018, 10:33 AM
dkazakov
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
dkazakov
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment