use Bindings, or set canAccept: false by default and change
dialog.canAccept after something happened.
On 08.03.2014 17:40, Ragnar Kurm wrote:
Hello,
I'm trying to make a dialog where accept action can be disabled or
enabled.
I set canAccept explicitly false, but it still appears as active,
Hello,
I'm trying to make a dialog where accept action can be disabled or enabled.
I set canAccept explicitly false, but it still appears as active, though
tapping does not accept.
So visual and practical aspect don't match.
If canAccept is specified dynamically then on subsequent change it
st