When files are dropped on a database window open them as sql files.
This commit is contained in:
parent
b04b947633
commit
6d08b40309
3 changed files with 55 additions and 22 deletions
|
|
@ -46,6 +46,7 @@ QueryTool::QueryTool(IDatabaseWindow *context, QWidget *parent)
|
|||
}
|
||||
|
||||
connect(ui->queryEdit, &QPlainTextEdit::textChanged, this, &QueryTool::queryTextChanged);
|
||||
ui->queryEdit->setAcceptDrops(false);
|
||||
|
||||
m_queryParamListController = new QueryParamListController(ui->paramTableView, m_context->openDatabase(), this);
|
||||
connect(ui->addButton, &QPushButton::clicked, m_queryParamListController,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue