mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 15:05:56 +00:00
Mac compil fix, sorry Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31481 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5695850a49
commit
ab8e0596a9
@ -800,7 +800,7 @@ docstring GuiApplication::iconName(FuncRequest const & f, bool unknown)
|
||||
}
|
||||
|
||||
|
||||
LyXView * GuiApplication::currentWindow()
|
||||
LyXView * GuiApplication::currentWindow()
|
||||
{
|
||||
#ifdef Q_WS_MACX
|
||||
/* In LyX/Mac, when a dialog is open, the menus of the
|
||||
@ -808,7 +808,7 @@ LyXView * GuiApplication::currentWindow()
|
||||
the main window. In this case, we want to disable the menu
|
||||
entries that are buffer or view-related.
|
||||
*/
|
||||
if (current_view_ && current_view_->activeWindow() != this)
|
||||
if (current_view_ && activeWindow() != current_view_)
|
||||
return 0;
|
||||
#endif
|
||||
return current_view_;
|
||||
|
Loading…
Reference in New Issue
Block a user