Re: [SailfishDevel] QML Dialog / DialogHeader - how to disable accepted button by default?

2014-03-08 Thread Andrey Kozhevnikov
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,

[SailfishDevel] QML Dialog / DialogHeader - how to disable accepted button by default?

2014-03-08 Thread Ragnar Kurm
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