[glom/glom-1-22] Print Layouts: Avoid crash when opening.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-22] Print Layouts: Avoid crash when opening.
- Date: Fri, 1 Nov 2013 19:14:43 +0000 (UTC)
commit 37e203be7083199c755431df8ac067e1af40697e
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Oct 21 10:44:18 2013 +0200
Print Layouts: Avoid crash when opening.
* glom/frame_glom.cc: This was another ! error from the commits to
avoid clang warnings.
glom/frame_glom.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/frame_glom.cc b/glom/frame_glom.cc
index d9f6c28..e745f30 100644
--- a/glom/frame_glom.cc
+++ b/glom/frame_glom.cc
@@ -1800,7 +1800,7 @@ void Frame_Glom::on_box_reports_selected(const Glib::ustring& report_name)
void Frame_Glom::on_box_print_layouts_selected(const Glib::ustring& print_layout_name)
{
//Create the dialog if necessary:
- if(m_pDialogLayoutPrint)
+ if(!m_pDialogLayoutPrint)
{
Utils::get_glade_widget_derived_with_warning(m_pDialogLayoutPrint);
if(!m_pDialogLayoutPrint)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]