mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Bug fix:
If you start LyX and open the Preferences dialog, "Apply" is activated even though no change has been made so far git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2706 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4a5f988d39
commit
ef1a996e2f
@ -1,3 +1,9 @@
|
||||
2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* FormPreferences.C (build): Fix bug: if you start LyX and open the
|
||||
Preferences dialog, "Apply" is activated even though no change has been
|
||||
made so far.
|
||||
|
||||
2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
|
||||
|
||||
* FormBase.C (show): use controller_.IconifyWithMain() to control
|
||||
|
@ -186,6 +186,12 @@ void FormPreferences::build()
|
||||
bc().setCancel(dialog_->button_cancel);
|
||||
bc().setRestore(dialog_->button_restore);
|
||||
|
||||
// The first time the dialog is shown, the Apply, Save buttons are
|
||||
// active. On any subsequent showing they aren't (as they shouldn't).
|
||||
// Don't understand why this is so, but this fixes things.
|
||||
// (Angus 7 Sep, 2001)
|
||||
bc().input(ButtonPolicy::SMI_CANCEL);
|
||||
|
||||
// build the tab folders
|
||||
converters_tab_.reset(build_outer_tab());
|
||||
look_n_feel_tab_.reset(build_outer_tab());
|
||||
|
Loading…
Reference in New Issue
Block a user