lyx_mirror/src/frontends
Abdelrazak Younes 0823fb6f86 Fix Toc dialog crash when TOC is empty.
* QToc::update(): return early if no TOC type.

* QTocDialog::updateGui(): return early of the Type model is empty and disable the outline buttons.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15346 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 08:51:55 +00:00
..
controllers Convert labels to unicode 2006-10-12 10:50:45 +00:00
gtk This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
qt3 This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
qt4 Fix Toc dialog crash when TOC is empty. 2006-10-16 08:51:55 +00:00
Alert_pimpl.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
Alert.C This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
Alert.h Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
Application.C This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
Application.h This commit is purely mechanical and get rid of lyx_gui.[Ch]. 2006-10-12 14:10:13 +00:00
ChangeLog fix drawing of buttons (bug 2328) 2006-03-15 15:32:32 +00:00
Clipboard.h Add comments WRT to where the function implementations are. 2006-10-14 19:58:42 +00:00
Dialogs.C Fix a crash that occured on exit if the clipboard was not empty 2006-09-22 10:03:00 +00:00
Dialogs.h remove LFUN_TOOLTIPS_TOGGLE and associated Dialog::tooltipsEnabled() method. 2006-10-06 21:49:13 +00:00
FileDialog.h This commit is converting everything related to browsing to unicode (qt4 only). 2006-10-09 16:33:20 +00:00
FontLoader.h Add comments WRT to where the function implementations are. 2006-10-14 19:58:42 +00:00
FontMetrics.h Add comments WRT to where the function implementations are. 2006-10-14 19:58:42 +00:00
Gui.h * Gui::newView(): cleanup unused arguments. 2006-10-12 22:30:42 +00:00
guiapi.C
guiapi.h
key_state.h rename Math*Inset into InsetMath* 2006-09-16 18:11:38 +00:00
LyXKeySym.h Merge the unicode branch into trunk. 2006-08-13 22:54:59 +00:00
LyXKeySymFactory.h
LyXView.C preliminar support for multiple LyXView. 2006-10-12 14:58:57 +00:00
LyXView.h This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
Makefile.am This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
Menubar.h Change MenuBackend and the other menuclasses to store a docstring. Do the required updates to lstrings/convert. 2006-09-09 22:27:22 +00:00
mouse_state.h
NoGuiFontLoader.h This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
NoGuiFontMetrics.h This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
nullpainter.C This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
nullpainter.h * frontends/Painter: 2006-10-10 13:24:08 +00:00
Painter.C This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
Painter.h * frontends/Painter: 2006-10-10 13:24:08 +00:00
pch.h Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
Selection.h Add comments WRT to where the function implementations are. 2006-10-14 19:58:42 +00:00
Timeout.C revert stupid patch 2005-06-16 14:18:18 +00:00
Timeout.h
Toolbars.C This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
Toolbars.h more unicode Work: Menubar and Toolbar. 2006-10-09 12:30:55 +00:00
WorkArea.C WorkArea::processKeySim(): ensure that LyXFunc holds the proper LyXView. 2006-10-13 14:15:31 +00:00
WorkArea.h cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now. 2006-09-17 10:00:15 +00:00