Fix search entry after editing the toolbar
commit3bc2cf5efb0e6d71dccc88105658656e70282a61
authorColomban Wendling <ban@herbesfolles.org>
Sat, 13 Apr 2024 23:54:28 +0000 (14 01:54 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Sat, 13 Apr 2024 23:58:17 +0000 (14 01:58 +0200)
treece122282c0a1a2d7aba5bd00ab3487a056264a0a
parenta44df8bb570e5d43f882649826e5d34ca3907a63
Fix search entry after editing the toolbar

According to b0b0ebb469a6b7eb74d321e6f5d7fe6f0bfcf6ba we guard against
proxying the widget more than once for some Windows reasons, but this
breaks the case where the same GeanyEntryAction has to re-create a
fresh proxy, like when moving the item around.

So, move the guard value to the proxied widget, not the action.

Fixes #3831.
src/geanyentryaction.c