Reset GraphvizUtils#dotVersion

0 votes
asked Mar 17, 2021 in Bug by krasa (820 points)
IntelliJ plugin shows a wrong version after user changes graphiz path.
perhaps do this?
public static final void setDotExecutable(String value) {
   String newDotExecutable = value == null ? null : value.trim();
   boolean equals = (dotExecutable == newDotExecutable) || (dotExecutable != null && dotExecutable.equals(newDotExecutable));
   if (!equals) {
      dotVersion = null;
   }
   dotExecutable = newDotExecutable;
}

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...