php-perfect / ddev-intellij-plugin

DDEV Tool Integration for IntelliJ IDEA
https://plugins.jetbrains.com/plugin/18813-ddev-integration
BSD 3-Clause "New" or "Revised" License
109 stars 15 forks source link

refactor(cmd): Call nonModal() instead of NON_MODAL constant #239

Closed pan93412 closed 1 year ago

pan93412 commented 1 year ago

The Problem/Issue/Bug:

NON_MODAL has been deprecated: https://github.com/JetBrains/intellij-community/blob/0c1f99dc08e1542c4f0da0e2361ac0599849ffa7/platform/core-api/src/com/intellij/openapi/application/ModalityState.java#L40-L43

How this PR Solves the Problem:

Migrated NON_MODAL to nonModal() according to the suggestion in @deprecated.

Manual Testing Instructions:

None.

Related Issue Link(s):

None.

nico-loeber commented 1 year ago

Thank you @pan93412!