Fix double-updating, thus fixing GChanges skipping first change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13240 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2006-02-14 16:14:33 +00:00
parent 5943449516
commit 5d14da2001
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@
I can copy and paste Schrödinger.
* GMenubar.C, GToolbar.C, GPainter.C: dodgy text encoding
conversions are marked with comments. grep for ENCODING.
* GViewBase.C: no longer call update() in show(), fixes
update getting called twice when opening dialog.
2006-02-13 John Spray <spray@lyx.org>
* ghelpers.C: implement Gtk::IconTheme stuff for getting

View File

@ -61,7 +61,7 @@ void GViewBase::show()
if (!window()) {
build();
}
update();
if (dialog().controller().exitEarly())
return;