From: <hug...@li...> - 2012-12-02 07:31:33
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgroot/hugin/hugin/rev/5f8f1f8236c8 changeset: 6041:5f8f1f8236c8 user: tmodes date: Sun Dec 02 08:30:15 2012 +0100 description: Disable assistant menu item if not applicable diffstat: src/hugin1/hugin/MainFrame.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (11 lines): diff -r 39535d32d6a9 -r 5f8f1f8236c8 src/hugin1/hugin/MainFrame.cpp --- a/src/hugin1/hugin/MainFrame.cpp Sat Dec 01 17:36:27 2012 +0100 +++ b/src/hugin1/hugin/MainFrame.cpp Sun Dec 02 08:30:15 2012 +0100 @@ -678,6 +678,7 @@ } else { enableTools(true); } + GetMenuBar()->Enable(XRCID("action_assistant"), pano.getNrOfImages()>=2); } void MainFrame::OnUserQuit(wxCommandEvent & e) |