mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
ui.dialog.confirm pressed the button `action` names whatever tab the dialog showed. With `tab` set to find, a confirm of replaceAll replaced every match although that tab shows only Find Next and Replace more, and on the Go To tab a confirm of find ran a search although that tab shows no Find Next. A confirm now presses only a button the open tab shows: Find Next on the Find and Replace tabs, Replace, Replace & Find and Replace All on the Replace tab, and Done on every tab. Any other press is refused with "the <tab> tab has no button for `action` <action>" and leaves the document, the dialog's message and `action` as they were.