[glom/glom-1-24] Print Layouts: Avoid crash when opening.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-24] Print Layouts: Avoid crash when opening.
- Date: Mon, 21 Oct 2013 08:50:15 +0000 (UTC)
commit f83f44832c802d0c38a2872b6ceb2bb608c5325b
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 8344416..9fc6604 100644
--- a/glom/frame_glom.cc
+++ b/glom/frame_glom.cc
@@ -1802,7 +1802,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]