diff --git a/NightVisionAddin/NightVisionEffect.cs b/NightVisionAddin/NightVisionEffect.cs index 06398d4..39e26c9 100644 --- a/NightVisionAddin/NightVisionEffect.cs +++ b/NightVisionAddin/NightVisionEffect.cs @@ -24,6 +24,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. using System; +using System.Threading.Tasks; using Cairo; using Pinta.Core; using Pinta.Gui.Widgets; @@ -48,9 +49,9 @@ public NightVisionEffect () public override bool IsTileable => true; - public override void LaunchConfiguration () + public override Task LaunchConfiguration () { - LaunchSimpleEffectDialog (AddinManager.CurrentLocalizer); + return LaunchSimpleEffectDialog (AddinManager.CurrentLocalizer); } public NightVisionData Data => (NightVisionData) EffectData!; // NRT - Set in constructor. @@ -61,7 +62,7 @@ public override void Render (ImageSurface src, ImageSurface dst, ReadOnlySpan