openbsd-ports/databases/sqlitebrowser/patches/patch-sqlitebrowser_form1_ui_h

13 lines
634 B
Plaintext

$OpenBSD: patch-sqlitebrowser_form1_ui_h,v 1.1 2009/08/14 12:44:26 espie Exp $
--- sqlitebrowser/form1.ui.h.orig Thu Aug 13 20:34:43 2009
+++ sqlitebrowser/form1.ui.h Thu Aug 13 20:36:04 2009
@@ -145,7 +145,7 @@ void mainForm::populateStructure()
QListViewItem * tbitem = new QListViewItem( dblistView, lasttbitem );
//tbitem->setOpen( TRUE );
tbitem->setText( 0, it.data().getname() );
- tbitem->setText( 1, "table" );
+ tbitem->setText( 1, it.data().getview() ? "view" : "table" );
tbitem->setText( 3, it.data().getsql() );
fieldMap::Iterator fit;
fieldMap fmap = it.data().fldmap;