ossp-pkg/as/as-gui/as_slot.cpp 1.88 -> 1.89
--- as_slot.cpp 2003/01/27 13:24:26 1.88
+++ as_slot.cpp 2003/01/27 14:43:44 1.89
@@ -432,9 +432,13 @@
break;
}
}
- else
+ else {
+ QString Extension = TITRAQ_FEXTENSION; // Logic to handle
+ if (!Filestring.endsWith(Extension)) // AS file extension
+ Filestring += Extension; // insertion
this->setFilename(Filestring); // Set filename of object first
this->saveFile(); // Finish by calling the save action
+ }
}
else {
// User did not select a valid file and push okay button
|
|