mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
Force file dialogs to look in the current director first.
This commit is contained in:
@@ -584,7 +584,7 @@ void SeerEditorManagerWidget::deleteEditorWidgetTab (int index) {
|
||||
|
||||
void SeerEditorManagerWidget::handleFileOpenToolButtonClicked () {
|
||||
|
||||
QString filename = QFileDialog::getOpenFileName(this, tr("Open Source File"), "", tr("Source files (*.*)"), nullptr, QFileDialog::DontUseNativeDialog);
|
||||
QString filename = QFileDialog::getOpenFileName(this, tr("Open Source File"), "./", tr("Source files (*.*)"), nullptr, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (filename == "") {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user