]> git.lyx.org Git - features.git/commit
Some dialog consistency work:
authorAbdelrazak Younes <younes@lyx.org>
Sun, 27 Apr 2008 22:24:20 +0000 (22:24 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 27 Apr 2008 22:24:20 +0000 (22:24 +0000)
commitbf27334cfac53c3f536e0e08dbd77f1ab104f81f
tree198b0350f1e44a11259413b1a714099c7580750d
parent1458cd52b7b26243a524f4de86aa4596372748a8
Some dialog consistency work:
* Dialog::updateData(): try to reset the dialog even if there's no Buffer.
* GuiView::updateBufferDependent():
- renamed to updateDialogs()
- don't hide when there's no current work area, try to disable instead.
- now also take care of toolbars and other elements.
* TocWidget: delay item selection to avoid unwanted node collapsing after setting a new model.

Expect crash and/or assertions for dialogs that are not ready for this non-hiding change. I will fix them iteratively.
There are still too many dialogs updates going on...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24529 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/Dialog.cpp
src/frontends/qt4/GuiToc.cpp
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/TocWidget.cpp
src/frontends/qt4/TocWidget.h