Skip to content

Commit

Permalink
Fix icons in Export SQL dialog
Browse files Browse the repository at this point in the history
Fix the type icons in the Export SQL dialog which weren't show before.
  • Loading branch information
MKleusberg committed May 16, 2018
1 parent 431c671 commit 28baba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExportSqlDialog.cpp
Expand Up @@ -30,7 +30,7 @@ ExportSqlDialog::ExportSqlDialog(DBBrowserDB* db, QWidget* parent, const QString
// Get list of tables to export
objectMap objects = pdb->getBrowsableObjects("main");
for(auto it=objects.constBegin();it!=objects.constEnd();++it)
ui->listTables->addItem(new QListWidgetItem(QIcon(QString(":icons/%1").arg((*it)->type())), (*it)->name()));
ui->listTables->addItem(new QListWidgetItem(QIcon(QString(":icons/%1").arg(sqlb::Object::typeToString((*it)->type()))), (*it)->name()));

// Sort list of tables and select the table specified in the
// selection parameter or all tables if table not specified
Expand Down

0 comments on commit 28baba8

Please sign in to comment.