Mercurial > hg > forks > UniversalIndentGUI
changeset 33:f1fe05fce32b
[Fix] Corrected bug #1649918: When UniversalIndentGUI has started up and then the preview is turned on, nothing happens. The indenter is first called after changing either the source code or an indenter setting.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@190 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Thu, 01 Feb 2007 15:52:22 +0000 |
parents | 01635ff8a6fc |
children | 2b9375fbdb4c |
files | src/mainwindow.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mainwindow.cpp Thu Feb 01 15:50:41 2007 +0000 +++ b/src/mainwindow.cpp Thu Feb 01 15:52:22 2007 +0000 @@ -30,7 +30,7 @@ setupUi(this); // set the program version, which is shown in the main window title - version = "UniversalIndentGUI 0.3.1 Beta"; + version = "UniversalIndentGUI 0.3.2 Beta"; toolBarWidget = new Ui::toolBarWidget(); QWidget* helpWidget = new QWidget(); @@ -54,7 +54,8 @@ sourceCodeChanged = false; scrollPositionChanged = false; - indentSettingsChanged = false; + // Set this true, so the indenter is called at first program start + indentSettingsChanged = true; previewToggled = true; // generate about dialog box