mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:07:07 +02:00
deselect selected file; close dialog after import
This commit is contained in:
parent
daffadbac4
commit
f01c2fb935
1 changed files with 3 additions and 2 deletions
|
@ -127,8 +127,8 @@ ImportDialog::~ImportDialog() {
|
|||
}
|
||||
|
||||
void ImportDialog::import() {
|
||||
_importButton.setDisabled(true);
|
||||
emit accepted();
|
||||
close();
|
||||
}
|
||||
|
||||
void ImportDialog::accept() {
|
||||
|
@ -145,6 +145,7 @@ int ImportDialog::exec() {
|
|||
|
||||
void ImportDialog::reset() {
|
||||
_importButton.setEnabled(false);
|
||||
selectFile(" ");
|
||||
}
|
||||
|
||||
void ImportDialog::saveCurrentFile(QString filename) {
|
||||
|
|
Loading…
Reference in a new issue