~ubuntu-branches/ubuntu/utopic/mysql-workbench/utopic

« back to all changes in this revision

Viewing changes to backend/wbprivate/sqlide/wb_sql_editor_result_panel.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2014-05-31 12:03:58 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20140531120358-cjik5ofkmj0fxsn8
Tags: 6.1.6+dfsg-1
* New upstream release [May 2014].
* Dropped "prtcl.patch".
* "debian/clean": better clean-up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
630
630
          _fields.push_back(fview);
631
631
        }
632
632
      }
 
633
 
 
634
      if (field_info.empty())
 
635
      {
 
636
        mforms::Label *label = mforms::manage(new mforms::Label("To use the Form Editor, please enable Query -> Collect Resultset Field Metadata from the main menu"));
 
637
        label->set_style(mforms::BigBoldStyle);
 
638
        _table.add(label, 0, 2, 0, 1, mforms::HFillFlag|mforms::VFillFlag|mforms::VExpandFlag);
 
639
      }
633
640
    }
634
641
  }
635
642
};
988
995
    }
989
996
    else
990
997
    {
991
 
      mforms::Label *label = mforms::manage(new mforms::Label("To get field type information for query results, enable Query -> Collect Resultset Field Metadata"));
 
998
      mforms::Label *label = mforms::manage(new mforms::Label("To get field type information for query results, enable Query -> Collect Resultset Field Metadata from the main menu"));
992
999
      label->set_style(mforms::BigBoldStyle);
993
1000
      box->add(label, true, true);
994
1001
    }