ExportCsvDialog: Set table selection to current table in Browse Data tab

When called while the Browse Data tab of the main window is selected
also select the current table or view in the ExportCsvDialog.

Sort the table names in the combobox of the ExportCsvDialog.
This commit is contained in:
Martin Kleusberg
2014-02-14 16:22:51 +01:00
parent 393a58be73
commit 4cd5131d1a
3 changed files with 16 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ class ExportCsvDialog : public QDialog
Q_OBJECT
public:
explicit ExportCsvDialog(DBBrowserDB* db, QWidget* parent = 0, const QString& query = "");
explicit ExportCsvDialog(DBBrowserDB* db, QWidget* parent = 0, const QString& query = "", const QString& selection = "");
~ExportCsvDialog();
private slots: