Re: Enable/Disable save button in the frmQuery. - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: Enable/Disable save button in the frmQuery.
Date
Msg-id 1312720479.1994.19.camel@laptop
Whole thread Raw
In response to Enable/Disable save button in the frmQuery.  (Vinicius Santos <vinicius.santos.lista@gmail.com>)
List pgadmin-hackers
On Sat, 2011-08-06 at 19:16 -0300, Vinicius Santos wrote:
> Hello,
>
> I believe that when you save a document in the form "frmQuery", the
> "Save" button should be disabled to become more obvious to the user that
> the document contains no changes.
>
> When user change the document, the button is enabled again.
>
> As with some text editors.
>
> I know that in this case, the title appears with an asterisk, but I
> think it would be better as well.
>
> What do you think?

I agree with you. The Save button should be disabled unless there were
some changes since last save.

> I have a patch for this.
>

You're welcome to send it there. It should apply cleanly on the master
branch.


--
Guillaume
  http://blog.guillaume.lelarge.info
  http://www.dalibo.com


pgadmin-hackers by date:

Previous
From: Vinicius Santos
Date:
Subject: Enable/Disable save button in the frmQuery.
Next
From: Vinicius Santos
Date:
Subject: Re: Enable/Disable save button in the frmQuery.