| Summary: | saving files in kig | ||
|---|---|---|---|
| Product: | [Applications] kig | Reporter: | david merlin <dmerlin> |
| Component: | general | Assignee: | Pino Toscano <pino> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
david merlin
2005-01-29 12:11:15 UTC
> but I am specifying in the file type the Kig format! > In any case I press yes and the file is "saved". What did you specify as file name the first time you saved the file (ie when you used the Save As) ? > But once the file is saved with extension .kig the program is not able > to open it. It looks like as the application is not able to recognize > its format. Why? Are you able to see it in the Open file dialog? Could you send (even privately) the saved file? CVS commit by pino:
Fixing a small issue when saving a file with no name set.
The name wasn't empty, but it contained a temp file. Luckly m_bTemp stores wheth
er using a temp file.
I hope this could fix #98142.
CCBUG: 98142
David, could this solve your problem?
M +1 -1 kig_part.cpp 1.173.2.2
--- kdeedu/kig/kig/kig_part.cpp #1.173.2.1:1.173.2.2
@@ -423,5 +423,5 @@ bool KigPart::openFile()
bool KigPart::saveFile()
{
- if ( m_file.isEmpty() ) return internalSaveAs();
+ if ( m_file.isEmpty() || m_bTemp ) return internalSaveAs();
// mimetype:
KMimeType::Ptr mimeType = KMimeType::findByPath ( m_file );
OK, now it works! many thanks > now it works!
So can I close this bug?
The reported told me that his problem is effectively fixed, so I can close this bug as such. |