From 4ec8f6f7367f3531eaffc20e00c023c056e91fea Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Mon, 5 Dec 2022 14:22:04 +0100 Subject: [PATCH] notifications.md: Cleanup --- topics/user_interface_components/notifications.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/topics/user_interface_components/notifications.md b/topics/user_interface_components/notifications.md index e7a21858a..b49214083 100644 --- a/topics/user_interface_components/notifications.md +++ b/topics/user_interface_components/notifications.md @@ -1,6 +1,6 @@ -[//]: # (title: Notifications) +# Notifications - + @@ -13,7 +13,9 @@ As a replacement, the IntelliJ Platform provides multiple non-modal notification ### Dialogs -When working in dialog, instead of checking the validity of the input when the _OK_ button is pressed and notifying the user about invalid data with a modal dialog, the recommended approach is to use [`DialogWrapper.doValidate()`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java), which was described previously. +When working in a dialog, instead of checking the validity of the input when the OK button is pressed and notifying the user about invalid data with a modal dialog, the recommended approach is to use +[`DialogWrapper.doValidate()`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java), +described in the [Dialogs](dialog_wrapper.md#input-validation) section. ### Editor Hints