| Summary: | save sometimes does not default to save-as. | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Netterfield <netterfield> |
| Component: | general | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | HI | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Netterfield
2005-12-12 02:16:58 UTC
SVN commit 487974 by arwalker:
BUG:118150 Set the title and modified flag correctly
M +1 -1 kst.cpp
M +1 -0 kstdoc.cpp
M +1 -1 main.cpp
--- trunk/extragear/graphics/kst/kst/kst.cpp #487973:487974
@@ -1160,7 +1160,7 @@
void KstApp::slotFileSave() {
- if (doc->title() == "Untitled") {
+ if (doc->title() == i18n("Untitled")) {
slotFileSaveAs();
} else {
slotUpdateStatusMsg(i18n("Saving file..."));
--- trunk/extragear/graphics/kst/kst/kstdoc.cpp #487973:487974
@@ -73,6 +73,7 @@
_updating = false;
_stopping = false;
_nextEventPaint = false;
+ _title = i18n("Untitled");
}
KstDoc::~KstDoc() {
--- trunk/extragear/graphics/kst/kst/main.cpp #487973:487974
@@ -795,7 +795,7 @@
} else {
args->clear();
kst->updateDialogs();
- kst->document()->setModified(false);
+
if (showQuickStart) {
kst->showQuickStartDialog();
}
|